From f7e0f0c54b14d55924f0cf7bc5afb6a69f7f623b Mon Sep 17 00:00:00 2001 From: James Allen Date: Fri, 20 Mar 2015 15:02:26 +0000 Subject: [PATCH] Add comment about tests on OS X --- services/spelling/test/unit/coffee/ASpellTests.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/spelling/test/unit/coffee/ASpellTests.coffee b/services/spelling/test/unit/coffee/ASpellTests.coffee index 3ad9bd6f11..1170f6baa1 100644 --- a/services/spelling/test/unit/coffee/ASpellTests.coffee +++ b/services/spelling/test/unit/coffee/ASpellTests.coffee @@ -55,6 +55,9 @@ describe "ASpell", -> @start = Date.now() @ASpell.checkWords "en", words, (error, @result) => done() + # 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) -> delta = Date.now()-@start delta.should.be.below(@ASpell.ASPELL_TIMEOUT + 100)