Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit a4580d6

Browse files
committed
fix config restore
1 parent 72e9a52 commit a4580d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/snippet-loading-spec.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,7 @@ describe("Snippet Loading", () => {
267267
const allSnippets = snippetsService.getUnparsedSnippets();
268268
const scopedSnippet = allSnippets.find(s => s.selectorString === '.package-with-snippets-unique-scope');
269269
expect(scopedSnippet).not.toBe(undefined);
270-
271-
//TODO: This doesn't look right. originalConfig should be restored
272-
originalConfig = atom.config.get('core.packagesWithSnippetsDisabled');
270+
atom.config.set('core.packagesWithSnippetsDisabled', originalConfig);
273271
});
274272
});
275273

0 commit comments

Comments
 (0)