☕️ Classic, reliable, trusted test framework for Node.js and the browser
debug - windows
Craig Taub242d1da650f2
diff --git a/bin/_mocha b/bin/_mochaindex 7ab33e70..974617c0 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -569,13 +569,16 @@ if (program.watch) {input: process.stdin,output: process.stdout});+ console.log('WINDOWS - RL CREATED');rl.on('SIGINT', function() {+ console.log('RL ON SIGINT');showCursor();console.log('\n');process.exit(130);});}process.on('SIGINT', () => {+ console.log('WATCH SIGINT');showCursor();console.log('\n');process.exit(130);diff --git a/test/integration/options.spec.js b/test/integration/options.spec.jsindex 7da23c1a..aac8469c 100644--- a/test/integration/options.spec.js+++ b/test/integration/options.spec.js@@ -520,12 +520,14 @@ describe('options', function() {}var expectedCloseCursor = '\u001b[?25h';+ console.log('data', data);expect(data.output, 'to contain', expectedCloseCursor);expect(data.code, 'to be', 130);done();});var t = setTimeout(function() {// kill the child process+ console.log('FIRE SIGINT');mocha.kill('SIGINT');}, 500);});