We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c0e522 commit 503532cCopy full SHA for 503532c
1 file changed
test/mocha.js
@@ -68,7 +68,8 @@ process.nextTick(function run() {
68
if (task.length) {
69
task.timeout = function(limit) {
70
clearTimeout(timer);
71
- task.limit = limit + lag;
+ limit += lag;
72
+ task.limit = limit;
73
timer = setTimeout(function() {
74
raise(new Error("Timed out: exceeds " + limit + "ms"));
75
}, limit);
0 commit comments