Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Double timeouts on integration tests

Peter Müllerffc978a5c971
diff --git a/test/integration/suite.spec.js b/test/integration/suite.spec.js
index 171a929e..f497e726 100644
--- a/test/integration/suite.spec.js
+++ b/test/integration/suite.spec.js
@@ -5,7 +5,7 @@ var run = require('./helpers').runMocha;
var args = [];
describe('suite w/no callback', function () {
- this.timeout(1000);
+ this.timeout(2000);
it('should throw a helpful error message when a callback for suite is not supplied', function (done) {
run('suite/suite-no-callback.fixture.js', args, function (err, res) {
assert(!err);
@@ -17,7 +17,7 @@ describe('suite w/no callback', function () {
});
describe('skipped suite w/no callback', function () {
- this.timeout(1000);
+ this.timeout(2000);
it('should not throw an error when a callback for skipped suite is not supplied', function (done) {
run('suite/suite-skipped-no-callback.fixture.js', args, function (err, res) {
assert(!err);
@@ -30,7 +30,7 @@ describe('skipped suite w/no callback', function () {
});
describe('skipped suite w/ callback', function () {
- this.timeout(1000);
+ this.timeout(2000);
it('should not throw an error when a callback for skipped suite is supplied', function (done) {
run('suite/suite-skipped-callback.fixture.js', args, function (err, res) {
assert(!err);