Clear window.setTimeout mock before each spec

This fixes a failure in the keymap spec where we assert that setTimeout
hasn’t been called.
Esse commit está contido em:
Nathan Sobo
2015-01-13 10:17:48 -07:00
commit 49cd3eb5da
+1
Ver Arquivo
@@ -119,6 +119,7 @@ beforeEach ->
"package-with-broken-package-json", "package-with-broken-keymap"]
config.set "editor.useShadowDOM", true
advanceClock(1000)
window.setTimeout.reset()
config.load.reset()
config.save.reset()