mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Update specs for pending item behavior
This commit is contained in:
@@ -177,10 +177,10 @@ describe "Pane", ->
|
||||
expect(pane.getActiveItem()).toBe itemD
|
||||
expect(pane.getActiveItem()).toBe pane.itemAtIndex(1)
|
||||
|
||||
it "closes pending item when non-pending item is activated", ->
|
||||
it "keeps pending item when non-pending item is activated", ->
|
||||
pane.activateItem(pane.itemAtIndex(0))
|
||||
|
||||
expect(pane.getItems().length).toBe 2
|
||||
expect(pane.getItems().length).toBe 3
|
||||
expect(pane.getActiveItem()).toBe pane.itemAtIndex(0)
|
||||
|
||||
describe "::activateNextItem() and ::activatePreviousItem()", ->
|
||||
|
||||
Reference in New Issue
Block a user