Skip to content

Commit

Permalink
Add patch from @spion to make nested-sync-noplan-noend pass
Browse files Browse the repository at this point in the history
  • Loading branch information
grncdr committed Oct 14, 2013
1 parent b82e719 commit 892c605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ Test.prototype.run = function () {
return;
}
this.emit('run');
var self = this;
if (!this._plan && this._progeny.length) nextTick(function () {
self.end();
});
};

Test.prototype.test = function (name, opts, cb) {
Expand Down

0 comments on commit 892c605

Please sign in to comment.