mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Moved atom.loadPackage to a spec-only helper function
This commit is contained in:
@@ -6,7 +6,7 @@ describe "CommandLogger", ->
|
||||
|
||||
beforeEach ->
|
||||
new RootView(require.resolve('fixtures/sample.js'))
|
||||
commandLogger = atom.loadPackage('command-logger').packageMain
|
||||
commandLogger = window.loadPackage('command-logger').packageMain
|
||||
commandLogger.eventLog = {}
|
||||
editor = rootView.getActiveEditor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user