diff --git a/test/test-helper.js b/test/test-helper.js index a208d5c..fb18f4b 100644 --- a/test/test-helper.js +++ b/test/test-helper.js @@ -19,7 +19,9 @@ assert.same = function(actual, expected) { assert.raises = function(item, eventName, callback) { var called = false; var id = setTimeout(function() { - assert.ok(called, "Expected '" + eventName + "' to be called.") + test("Should have called " + eventName, function() { + assert.ok(called, "Expected '" + eventName + "' to be called.") + }); },1000); item.once(eventName, function() {