Skip to content

Commit

Permalink
Fixes next call
Browse files Browse the repository at this point in the history
  • Loading branch information
tinganho committed Jun 18, 2015
1 parent fdfd73b commit 72a9500
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/runner.js
Expand Up @@ -460,9 +460,7 @@ Runner.prototype.runTests = function(suite, fn){
// test suite don't do any immediate recursive loops. Thus,
// allowing a JS runtime to breathe.
if (self._grep !== self._defaultGrep) {
Runner.immediately(function() {
next();
});
Runner.immediately(next);
} else {
next();
}
Expand Down

0 comments on commit 72a9500

Please sign in to comment.