mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Clone default keybindings in specs
This commit is contained in:
@@ -52,7 +52,7 @@ beforeEach ->
|
||||
else
|
||||
atom.project = new Project(path.join(@specDirectory, 'fixtures'))
|
||||
window.project = atom.project
|
||||
atom.keymap.keyBindings = keyBindingsToRestore
|
||||
atom.keymap.keyBindings = _.clone(keyBindingsToRestore)
|
||||
|
||||
window.resetTimeouts()
|
||||
atom.packages.packageStates = {}
|
||||
|
||||
Reference in New Issue
Block a user