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 0d7692f commit ad65c5cCopy full SHA for ad65c5c
lib/internal/test_runner/harness.js
@@ -265,7 +265,7 @@ function setupProcessState(root, globalOptions) {
265
process.removeListener('uncaughtException', exceptionHandler);
266
process.removeListener('unhandledRejection', rejectionHandler);
267
process.removeListener('beforeExit', exitHandler);
268
- process.removeListener('exit', exitHandler);
+ process.removeListener('exit', terminationHandler);
269
if (globalOptions.isTestRunner) {
270
process.removeListener('SIGINT', terminationHandler);
271
process.removeListener('SIGTERM', terminationHandler);
0 commit comments