Skip to content

Commit

Permalink
don't try to exist when tests complete
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 14, 2010
1 parent 7edb97a commit 6546552
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/vows/suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
};
Expand Down

0 comments on commit 6546552

Please sign in to comment.