mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Reload instead of unload in afterEach
This ensures the stylesheets with the fixtures variables are unloaded and the default ones are reloaded.
This commit is contained in:
@@ -18,7 +18,7 @@ describe "the `atom` global", ->
|
||||
|
||||
afterEach ->
|
||||
atom.themes.unload()
|
||||
atom.unloadBaseStylesheets()
|
||||
atom.reloadBaseStylesheets()
|
||||
|
||||
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