☕️ Classic, reliable, trusted test framework for Node.js and the browser
Stop runner sending SIGINT to itself from within SIGINT handler
Gabriel Silk8b382354c55c
diff --git a/bin/mocha b/bin/mochaindex 6f67e224..7d81333b 100755--- a/bin/mocha+++ b/bin/mocha@@ -81,5 +81,4 @@ proc.on('exit', function (code, signal) {process.on('SIGINT', function () {proc.kill('SIGINT'); // calls runner.abort()proc.kill('SIGTERM'); // if that didn't work, we're probably in an infinite loop, so make it die.- process.kill(process.pid, 'SIGINT');});