mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Spy on atom.inDevMode()
This commit is contained in:
@@ -5,6 +5,9 @@ ThemePackage = require '../src/theme-package'
|
||||
|
||||
describe "Package", ->
|
||||
describe "when the package contains incompatible native modules", ->
|
||||
beforeEach ->
|
||||
spyOn(atom, 'inDevMode').andReturn(false)
|
||||
|
||||
it "does not activate it", ->
|
||||
packagePath = atom.project.resolve('packages/package-with-incompatible-native-module')
|
||||
pack = new Package(packagePath)
|
||||
|
||||
Reference in New Issue
Block a user