Skip to content

Commit 295285a

Browse files
Fix test.
1 parent 8eeb3ea commit 295285a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/snippet-loading-spec.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ describe "Snippet Loading", ->
233233
allSnippets = snippetsService.getUnparsedSnippets()
234234
scopedSnippet = allSnippets.find (s) ->
235235
s.selectorString is '.package-with-snippets-unique-scope'
236-
expect(scopedSnippet).toNotBe undefined
236+
expect(scopedSnippet).not.toBe undefined
237+
originalConfig = atom.config.get('core.packagesWithSnippetsDisabled')
237238

238239
it "never loads a package's snippets when that package is disabled in config", ->
239240
originalConfig = atom.config.get('core.packagesWithSnippetsDisabled')

0 commit comments

Comments
 (0)