mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-13 08:44:12 +03:00
Deactivate rootView in afterEach
This commit is contained in:
parent
b277945718
commit
9043f8290f
@ -5,6 +5,9 @@ describe "the `atom` global", ->
|
||||
beforeEach ->
|
||||
new RootView
|
||||
|
||||
afterEach ->
|
||||
rootView.deactivate()
|
||||
|
||||
describe ".loadPackage(name)", ->
|
||||
[extension, stylesheetPath] = []
|
||||
|
||||
@ -72,6 +75,7 @@ describe "the `atom` global", ->
|
||||
syntax.on 'grammars-loaded', eventHandler
|
||||
disabledPackages = config.get("core.disabledPackages")
|
||||
disabledPackages.push('textmate-package.tmbundle')
|
||||
disabledPackages.push('package-with-snippets')
|
||||
config.set "core.disabledPackages", disabledPackages
|
||||
atom.loadPackages()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user