Print out unfired function

This commit is contained in:
Brian M. Carlson 2014-10-01 19:03:24 -04:00
parent c5d4207aac
commit 75473221e7

View File

@ -139,7 +139,8 @@ var expect = function(callback, timeout) {
"Expected execution of function to be fired within " + timeout "Expected execution of function to be fired within " + timeout
+ " milliseconds " + + " milliseconds " +
+ " (hint: export TEST_TIMEOUT=<timeout in milliseconds>" + " (hint: export TEST_TIMEOUT=<timeout in milliseconds>"
+ " to change timeout globally)"); + " to change timeout globally)"
+ callback.toString());
}, timeout) }, timeout)
if(callback.length < 3) { if(callback.length < 3) {