Skip to content

Commit

Permalink
Remove 'next' event
Browse files Browse the repository at this point in the history
After all the other changes, it turns out to be redundant.
  • Loading branch information
grncdr authored and James Halliday committed Oct 25, 2013
1 parent 188fbb1 commit 78e48c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/results.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ Results.prototype._watch = function (t) {
});

t.on('test', function (st) { self._watch(st) });
t.on('next', function (st) { st.run() });
};

Results.prototype.close = function () {
Expand Down
2 changes: 1 addition & 1 deletion lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Test.prototype.end = function () {
t.on('end', function () {
self.end();
});
this.emit('next', t);
t.run();
return;
}

Expand Down

0 comments on commit 78e48c9

Please sign in to comment.