Print out unfired function
This commit is contained in:
parent
c5d4207aac
commit
75473221e7
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user