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:
@@ -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()
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário