decrease emit timeout time

This commit is contained in:
Brian Carlson 2011-02-22 19:32:18 -06:00
parent d06f407c6c
commit 8e8352127a

View File

@ -32,7 +32,7 @@ assert.emits = function(item, eventName, callback) {
test("Should have called " + eventName, function() {
assert.ok(called, "Expected '" + eventName + "' to be called.")
});
},20000);
},2000);
item.once(eventName, function() {
called = true;