diff --git a/spec/spec-helper.coffee b/spec/spec-helper.coffee index 171e80509..0a1d1a904 100644 --- a/spec/spec-helper.coffee +++ b/spec/spec-helper.coffee @@ -78,7 +78,7 @@ beforeEach -> spyOn(clipboard, 'readText').andCallFake -> pasteboardContent addCustomMatchers(this) - atom.focus() # Hack to get async events to fire + $(window).focus() # Hack to get async events to fire afterEach -> keymap.bindingSets = bindingSetsToRestore