Set the atom.commands root node to document.body in beforeEach

This commit is contained in:
Nathan Sobo 2014-09-11 14:14:03 -06:00
parent 99cf8fabc0
commit 8f9cf3c790

View File

@ -63,6 +63,7 @@ beforeEach ->
atom.project = new Project(path: projectPath)
atom.workspace = new Workspace()
atom.keymaps.keyBindings = _.clone(keyBindingsToRestore)
atom.commands.setRootNode(document.body)
window.resetTimeouts()
atom.packages.packageStates = {}