mirror of
https://github.com/atom/atom.git
synced 2026-02-13 08:04:56 -05:00
💄
This commit is contained in:
committed by
Kevin Sawicki
parent
ea65c63862
commit
59ac9de8c3
@@ -218,7 +218,7 @@ describe "Snippets extension", ->
|
||||
snippets.loaded = false
|
||||
snippets.loadAll()
|
||||
|
||||
waitsFor((-> snippets.loaded), "Waiting for all snippets to load", 5000)
|
||||
waitsFor "all snippets to load", 5000, -> snippets.loaded
|
||||
|
||||
runs ->
|
||||
expect(syntax.getProperty(['.test'], 'snippets.test')?.constructor).toBe Snippet
|
||||
@@ -232,7 +232,7 @@ describe "Snippets extension", ->
|
||||
snippets.loaded = false
|
||||
snippets.loadAll()
|
||||
|
||||
waitsFor((-> snippets.loaded), "Waiting for all snippets to load", 5000)
|
||||
waitsFor "all snippets to load", 5000, -> snippets.loaded
|
||||
|
||||
runs ->
|
||||
snippet = syntax.getProperty(['.source.js'], 'snippets.fun')
|
||||
|
||||
Reference in New Issue
Block a user