mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Call adjustSplitPanes after setting window state
This commit is contained in:
@@ -87,6 +87,13 @@ describe "RootView", ->
|
||||
expect(editor4.buffer.path).toBe require.resolve('fixtures/sample.txt')
|
||||
expect(editor4.getCursorScreenPosition()).toEqual [0, 2]
|
||||
|
||||
# ensure adjustSplitPanes is called
|
||||
expect(editor1.width()).toBeGreaterThan 0
|
||||
expect(editor2.width()).toBeGreaterThan 0
|
||||
expect(editor3.width()).toBeGreaterThan 0
|
||||
expect(editor4.width()).toBeGreaterThan 0
|
||||
|
||||
|
||||
describe "split editor panes", ->
|
||||
editor1 = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user