mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fix window spec.
The windowStatePath now requires atom.windowMode, without setting it the deserializeEditorWindow would create the wrong window.project.
This commit is contained in:
@@ -38,6 +38,7 @@ beforeEach ->
|
||||
window.git = Git.open(window.project.getPath())
|
||||
|
||||
window.resetTimeouts()
|
||||
atom.windowMode = 'editor'
|
||||
atom.packageStates = {}
|
||||
spyOn(atom, 'setWindowState')
|
||||
syntax.clearGrammarOverrides()
|
||||
|
||||
Reference in New Issue
Block a user