mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Use relative path for atom-package require
This commit is contained in:
@@ -94,7 +94,7 @@ describe "the `atom` global", ->
|
||||
beforeEach ->
|
||||
mainModule = require './fixtures/packages/package-with-activation-events/index'
|
||||
spyOn(mainModule, 'activate').andCallThrough()
|
||||
AtomPackage = require 'atom-package'
|
||||
AtomPackage = require '../src/atom-package'
|
||||
spyOn(AtomPackage.prototype, 'requireMainModule').andCallThrough()
|
||||
pack = atom.activatePackage('package-with-activation-events')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user