diff --git a/spec/spec-helper.es6 b/spec/spec-helper.es6 index 41be1cf67..e9295c520 100644 --- a/spec/spec-helper.es6 +++ b/spec/spec-helper.es6 @@ -21,7 +21,7 @@ NylasEnv.themes.requireStylesheet('../static/jasmine'); NylasEnv.themes.initialLoadComplete = true; NylasEnv.keymaps.loadKeymaps(); -let styleElementsToRestore = NylasEnv.styles.getSnapshot(); +const styleElementsToRestore = NylasEnv.styles.getSnapshot(); window.addEventListener('core:close', () => window.close()); window.addEventListener('beforeunload', function() {