mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Build packages using paths instead of filenames
This commit is contained in:
@@ -13,7 +13,11 @@ describe "Snippets extension", ->
|
||||
rootView = new RootView(require.resolve('fixtures/sample.js'))
|
||||
spyOn(LoadSnippetsTask.prototype, 'start')
|
||||
|
||||
atom.loadPackage("package-with-snippets")
|
||||
packageWithSnippets = atom.loadPackage("package-with-snippets")
|
||||
|
||||
spyOn(atom, "getLoadedPackages").andCallFake ->
|
||||
window.textMatePackages.concat([packageWithSnippets])
|
||||
|
||||
atom.loadPackage("snippets")
|
||||
|
||||
editor = rootView.getActiveEditor()
|
||||
|
||||
Reference in New Issue
Block a user