mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Unload base stylesheets in an after each
This prevents the blue background from bleeding over into other specs.
This commit is contained in:
@@ -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')])
|
||||
|
||||
Reference in New Issue
Block a user