mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-21 15:56:10 +08:00
fix(test): remove bad nondeterministic package spec
This commit is contained in:
parent
1fa8e2d5fa
commit
ab2b22749d
|
@ -150,16 +150,16 @@ describe "PackageManager", ->
|
||||||
afterEach ->
|
afterEach ->
|
||||||
jasmine.restoreDeprecationsSnapshot()
|
jasmine.restoreDeprecationsSnapshot()
|
||||||
|
|
||||||
it "still assigns configDefaults from the module though deprecated", ->
|
# it "still assigns configDefaults from the module though deprecated", ->
|
||||||
|
#
|
||||||
expect(atom.config.get('package-with-config-defaults.numbers.one')).toBeUndefined()
|
# expect(atom.config.get('package-with-config-defaults.numbers.one')).toBeUndefined()
|
||||||
|
#
|
||||||
waitsForPromise ->
|
# waitsForPromise ->
|
||||||
atom.packages.activatePackage('package-with-config-defaults')
|
# atom.packages.activatePackage('package-with-config-defaults')
|
||||||
|
#
|
||||||
runs ->
|
# runs ->
|
||||||
expect(atom.config.get('package-with-config-defaults.numbers.one')).toBe 1
|
# expect(atom.config.get('package-with-config-defaults.numbers.one')).toBe 1
|
||||||
expect(atom.config.get('package-with-config-defaults.numbers.two')).toBe 2
|
# expect(atom.config.get('package-with-config-defaults.numbers.two')).toBe 2
|
||||||
|
|
||||||
describe "when the package has no main module", ->
|
describe "when the package has no main module", ->
|
||||||
it "does not throw an exception", ->
|
it "does not throw an exception", ->
|
||||||
|
|
Loading…
Reference in a new issue