mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 00:19:24 +03:00
Made test run against empty project
This commit is contained in:
parent
8352c5cda3
commit
5b7a02534c
@ -36,7 +36,7 @@ describe "RootView", ->
|
||||
|
||||
describe "focus", ->
|
||||
it "can receive focus if there is no active editor, but otherwise hands off focus to the active editor", ->
|
||||
rootView = new RootView(require.resolve 'fixtures')
|
||||
rootView = new RootView({url: require.resolve 'fixtures'})
|
||||
rootView.attachToDom()
|
||||
expect(rootView).toMatchSelector(':focus')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user