mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Call atom.focus() in the root beforeEach
Async events are not currently firing in specs and this appears to cause them fire.
This commit is contained in:
parent
1a76e3dc9d
commit
6bbcc58542
@ -78,6 +78,7 @@ beforeEach ->
|
||||
spyOn(clipboard, 'readText').andCallFake -> pasteboardContent
|
||||
|
||||
addCustomMatchers(this)
|
||||
atom.focus() # Hack to get async events to fire
|
||||
|
||||
afterEach ->
|
||||
keymap.bindingSets = bindingSetsToRestore
|
||||
|
Loading…
Reference in New Issue
Block a user