Bladeren bron

timeout does not need async test here

Brian Gough 11 jaren geleden
bovenliggende
commit
6e0d72a3b1
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      services/spelling/test/unit/coffee/ASpellTests.coffee

+ 1 - 2
services/spelling/test/unit/coffee/ASpellTests.coffee

@@ -61,7 +61,6 @@ describe "ASpell", ->
 		# Note that this test fails on OS X, due to differing pipe behaviour
 		# Note that this test fails on OS X, due to differing pipe behaviour
 		# on killing the child process. It can be tested successfully on Travis
 		# on killing the child process. It can be tested successfully on Travis
 		# or the CI server.
 		# or the CI server.
-		it "should return in reasonable time", (done) ->
+		it "should return in reasonable time", () ->
 			delta = Date.now()-@start
 			delta = Date.now()-@start
 			delta.should.be.below(@ASpell.ASPELL_TIMEOUT + 100)
 			delta.should.be.below(@ASpell.ASPELL_TIMEOUT + 100)
-			done()