Suppress deprecations for package activation

This commit is contained in:
Ben Ogle 2014-11-25 14:21:34 -08:00
parent 2d885496a3
commit 4048fb978c

View File

@ -522,6 +522,7 @@ describe "PackageManager", ->
themeActivator = null
beforeEach ->
jasmine.snapshotDeprecations()
spyOn(console, 'warn')
atom.packages.loadPackages()
@ -537,6 +538,7 @@ describe "PackageManager", ->
GrammarRegistry = require '../src/grammar-registry'
atom.grammars = window.syntax = new GrammarRegistry()
jasmine.restoreDeprecationsSnapshot()
it "activates all the packages, and none of the themes", ->
atom.packages.activate()