From 6e0d72a3b188676a6b8727c6fe7b234457bf0a24 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 20 May 2015 11:45:17 +0100 Subject: [PATCH] timeout does not need async test here --- services/spelling/test/unit/coffee/ASpellTests.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/spelling/test/unit/coffee/ASpellTests.coffee b/services/spelling/test/unit/coffee/ASpellTests.coffee index a569282982..c7426c74cf 100644 --- a/services/spelling/test/unit/coffee/ASpellTests.coffee +++ b/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 # on killing the child process. It can be tested successfully on Travis # or the CI server. - it "should return in reasonable time", (done) -> + it "should return in reasonable time", () -> delta = Date.now()-@start delta.should.be.below(@ASpell.ASPELL_TIMEOUT + 100) - done()