☕️ Classic, reliable, trusted test framework for Node.js and the browser
fix done() called multiple times with an error test
TJ Holowaychuk2464250fa4cc
diff --git a/test/runnable.js b/test/runnable.jsindex 81822a56..0e03b77b 100644--- a/test/runnable.js+++ b/test/runnable.js@@ -162,7 +162,7 @@ describe('Runnable(title, fn)', function(){test.on('error', function(err){++errCalls;- err.message.should.equal('done() called multiple times');+ err.message.should.equal('fail');calls.should.equal(1);errCalls.should.equal(1);done();