Fix flaky project spec caused by async service hub

This commit is contained in:
Max Brunsfeld
2015-07-27 10:16:11 -07:00
parent 48e37730e5
commit 886c51aed1

View File

@@ -13,6 +13,9 @@ describe "Project", ->
beforeEach ->
atom.project.setPaths([atom.project.getDirectories()[0]?.resolve('dir')])
# Wait for project's service consumers to be asynchronously added
waits(1)
describe "constructor", ->
it "enables a custom DirectoryProvider to supersede the DefaultDirectoryProvider", ->
remotePath = "ssh://foreign-directory:8080/"