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