mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Fix workspaceView spec
This commit is contained in:
parent
6ff2b2a01e
commit
e8c62b501f
@ -58,7 +58,7 @@ describe "WorkspaceView", ->
|
|||||||
pane1 = atom.workspaceView.getActivePaneView()
|
pane1 = atom.workspaceView.getActivePaneView()
|
||||||
pane2 = pane1.splitRight()
|
pane2 = pane1.splitRight()
|
||||||
pane3 = pane2.splitRight()
|
pane3 = pane2.splitRight()
|
||||||
pane4 = pane2.splitDown()
|
pane4 = null
|
||||||
|
|
||||||
waitsForPromise ->
|
waitsForPromise ->
|
||||||
atom.workspace.open('b').then (editor) ->
|
atom.workspace.open('b').then (editor) ->
|
||||||
@ -70,6 +70,7 @@ describe "WorkspaceView", ->
|
|||||||
|
|
||||||
runs ->
|
runs ->
|
||||||
pane3.activeItem.setCursorScreenPosition([2, 4])
|
pane3.activeItem.setCursorScreenPosition([2, 4])
|
||||||
|
pane4 = pane2.splitDown()
|
||||||
|
|
||||||
waitsForPromise ->
|
waitsForPromise ->
|
||||||
atom.workspace.open('../sample.txt').then (editor) ->
|
atom.workspace.open('../sample.txt').then (editor) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user