Unload base stylesheets in an after each

This prevents the blue background from bleeding over into other specs.
This commit is contained in:
Kevin Sawicki
2013-09-04 12:56:54 -07:00
parent 7b2429851c
commit 3a5ad9b48d

View File

@@ -18,6 +18,7 @@ describe "the `atom` global", ->
afterEach ->
atom.themes.unload()
atom.unloadBaseStylesheets()
it "loads the correct values from the theme's ui-variables file", ->
config.set('core.themes', [project.resolve('themes/theme-with-ui-variables')])