mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-09 00:30:14 +03:00
Fix grammar in spec description
This commit is contained in:
parent
d90daf07f8
commit
b1a3d89af3
@ -215,7 +215,7 @@ describe "PackageManager", ->
|
|||||||
expect(pack.mainModule.activate).toHaveBeenCalledWith({someNumber: 77})
|
expect(pack.mainModule.activate).toHaveBeenCalledWith({someNumber: 77})
|
||||||
|
|
||||||
describe "when the package throws an error while loading", ->
|
describe "when the package throws an error while loading", ->
|
||||||
it "logs warning instead of throwing an exception", ->
|
it "logs a warning instead of throwing an exception", ->
|
||||||
atom.config.set("core.disabledPackages", [])
|
atom.config.set("core.disabledPackages", [])
|
||||||
spyOn(console, "warn")
|
spyOn(console, "warn")
|
||||||
expect(-> atom.packages.activatePackage("package-that-throws-an-exception")).not.toThrow()
|
expect(-> atom.packages.activatePackage("package-that-throws-an-exception")).not.toThrow()
|
||||||
|
Loading…
Reference in New Issue
Block a user