Skip to content

Commit f37d431

Browse files
author
James Halliday
committed
exit test completely passes
1 parent ce0d62c commit f37d431

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

index.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ exports = module.exports = (function () {
3737
t._exit();
3838
}
3939
}
40-
process.exit(harness._exitCode);
4140
}, 100);
41+
42+
setTimeout(function () {
43+
process.exit(harness._exitCode);
44+
}, 110);
4245
});
4346
}
4447
}

test/exit.js

-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ tap.test('too few exit', function (t) {
107107
});
108108
});
109109

110-
/*
111110
tap.test('more planned in a second test', function (t) {
112111
t.plan(2);
113112

@@ -141,4 +140,3 @@ tap.test('more planned in a second test', function (t) {
141140
t.notEqual(code, 0);
142141
});
143142
});
144-
*/

0 commit comments

Comments
 (0)