Skip to content

Commit

Permalink
remove listeners warning on topics
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jan 29, 2011
1 parent 8fb1a56 commit 1c18b66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vows/suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ this.Suite.prototype = new(function () {
// duplicates.
if (! old) Array.prototype.unshift.apply(ctx.topics, arguments);
});
topic.setMaxListeners(Infinity);

// Now run the tests, or sub-contexts
Object.keys(ctx.tests).filter(function (k) {
Expand Down

0 comments on commit 1c18b66

Please sign in to comment.