Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor fix for 0.10

  • Loading branch information...
commit 52e25d8f78d00bcaf855ec2916684c9ba15e1caf 1 parent 4fe80b3
@substack authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 index.js
View
6 index.js
@@ -53,8 +53,10 @@ function createHarness (conf_) {
var exit = function (c) { exitCode = c };
out.on('end', function () {
- clearInterval(exitInterval);
- if (canExit && conf_.exit !== false) process.exit(exitCode);
+ nextTick(function () {
+ clearInterval(exitInterval);
+ if (canExit && conf_.exit !== false) process.exit(exitCode);
+ });
});
var test = function (name, conf, cb) {
Please sign in to comment.
Something went wrong with that request. Please try again.