mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
💚 Avoid resetting atom.grammars
...because it messes up subsequent tests that hit code paths that make use of atom.grammars. /cc: @nathansobo @maxbrunsfeld
This commit is contained in:
committed by
Nathan Sobo
parent
4108939201
commit
b2d178f641
@@ -770,8 +770,6 @@ describe "PackageManager", ->
|
||||
atom.packages.deactivatePackages()
|
||||
atom.packages.unloadPackages()
|
||||
|
||||
GrammarRegistry = require '../src/grammar-registry'
|
||||
atom.grammars = window.syntax = new GrammarRegistry(config: atom.config)
|
||||
jasmine.restoreDeprecationsSnapshot()
|
||||
|
||||
it "activates all the packages, and none of the themes", ->
|
||||
|
||||
Reference in New Issue
Block a user