Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit 12eec6d

Browse files
Merge pull request #6 from pulsar-edit/fix-tests
Fix failing specs
2 parents 76a32e5 + 3cd111d commit 12eec6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/snippets-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("Snippets extension", () => {
2020
spyOn(Snippets, 'loadAll');
2121
spyOn(Snippets, 'getUserSnippetsPath').andReturn('');
2222

23-
waitsForPromise(() => atom.workspace.open('sample.js'));
23+
waitsForPromise(() => atom.workspace.open(path.join(__dirname, 'fixtures', 'sample.js')));
2424
waitsForPromise(() => atom.packages.activatePackage('language-javascript'));
2525
waitsForPromise(() => atom.packages.activatePackage('language-html'));
2626
waitsForPromise(() => atom.packages.activatePackage('snippets'));

0 commit comments

Comments
 (0)