We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe80b3 commit 52e25d8Copy full SHA for 52e25d8
index.js
@@ -53,8 +53,10 @@ function createHarness (conf_) {
53
var exit = function (c) { exitCode = c };
54
55
out.on('end', function () {
56
- clearInterval(exitInterval);
57
- if (canExit && conf_.exit !== false) process.exit(exitCode);
+ nextTick(function () {
+ clearInterval(exitInterval);
58
+ if (canExit && conf_.exit !== false) process.exit(exitCode);
59
+ });
60
});
61
62
var test = function (name, conf, cb) {
0 commit comments