mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Remove assertion for impossible situation
We were testing the behavior of returning the active pane by removing the active class from its view. But "active" is a model-level concept now, so this assertion makes no sense.
This commit is contained in:
parent
c7fded0d7f
commit
23e805fe9e
@ -71,10 +71,6 @@ describe "PaneContainer", ->
|
||||
expect(container.getFocusedPane()).toBe pane3
|
||||
expect(container.getActivePane()).toBe pane3
|
||||
|
||||
# returns the first pane if none have been set to active
|
||||
container.find('.pane.active').removeClass('active')
|
||||
expect(container.getActivePane()).toBe pane1
|
||||
|
||||
describe ".eachPane(callback)", ->
|
||||
it "runs the callback with all current and future panes until the subscription is cancelled", ->
|
||||
panes = []
|
||||
|
Loading…
Reference in New Issue
Block a user