Clear all syntax subscriptions after spec runs

The global syntax object is reused between specs so
each spec should start off with a clean listener list.
This commit is contained in:
Kevin Sawicki
2013-03-21 18:36:50 -07:00
parent 1ad5327c99
commit 712ba2c3fa

View File

@@ -88,6 +88,7 @@ afterEach ->
ensureNoPathSubscriptions()
atom.pendingModals = [[]]
atom.presentingModal = false
syntax.off()
waits(0) # yield to ui thread to make screen update more frequently
window.loadPackage = (name, options={}) ->