mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Give specs window a keymap with the default bindings
This commit is contained in:
@@ -14,6 +14,10 @@ beforeEach ->
|
||||
afterEach ->
|
||||
$('#jasmine-content').empty()
|
||||
|
||||
specsKeymap = new GlobalKeymap
|
||||
specsKeymap.bindDefaultKeys()
|
||||
$(window).on 'keydown', (e) -> specsKeymap.handleKeyEvent(e)
|
||||
|
||||
# Use underscore's definition of equality for toEqual assertions
|
||||
jasmine.Env.prototype.equals_ = _.isEqual
|
||||
|
||||
|
||||
Reference in New Issue
Block a user