From 6546552dd9392fb9e67857cf2cfb4fe1ec4d6d71 Mon Sep 17 00:00:00 2001 From: cloudhead Date: Mon, 14 Jun 2010 14:53:45 -0400 Subject: [PATCH] don't try to exist when tests complete --- lib/vows/suite.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/vows/suite.js b/lib/vows/suite.js index aa32b7a..324155f 100644 --- a/lib/vows/suite.js +++ b/lib/vows/suite.js @@ -243,15 +243,8 @@ this.Suite.prototype = new(function () { } } else { that.results.time = (new(Date) - start) / 1000; - that.report(['finish', that.results]); - if (callback) { callback(that.results) } - - // Don't exit until stdout is empty - process.stdout.addListener('drain', function () { - process.exit(that.results.broken || that.results.errored ? 1 : 0); - }); } })(this.batches.slice(0)); };