Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

increase time

Craig Taubf45a53a234e6
diff --git a/test/integration/fixtures/mocha-process-hanging.fixture.js b/test/integration/fixtures/mocha-process-hanging.fixture.js
index 324374a2..5df91987 100644
--- a/test/integration/fixtures/mocha-process-hanging.fixture.js
+++ b/test/integration/fixtures/mocha-process-hanging.fixture.js
@@ -3,4 +3,7 @@
require('../../../bin/_mocha');
process.stdout.on('data', function(data) {});
-describe('hanging process', function() {});
+describe('hanging process', function() {
+ it('test should pass', function () {
+ });
+});
diff --git a/test/integration/options.spec.js b/test/integration/options.spec.js
index a6bf0fe4..e3340a6c 100644
--- a/test/integration/options.spec.js
+++ b/test/integration/options.spec.js
@@ -523,12 +523,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('TIMER SIGINT')
mocha.kill('SIGINT');
}, 500);
});