Skip to content

Commit

Permalink
Merge pull request #8 from holidayextras/fix-coveralls-timeout
Browse files Browse the repository at this point in the history
Add missing timeout to coveralls mocha run.
  • Loading branch information
pmcnr-hx committed Dec 1, 2015
2 parents 72d1d48 + 2e5e915 commit a99ff5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/server.js
Expand Up @@ -23,4 +23,4 @@ setTimeout(function() {
async.map(instances, function(dbStore, callback) {
dbStore.populate(callback);
});
}, 5000);
}, 10000);
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -45,7 +45,7 @@
"scripts": {
"test": "./node_modules/mocha/bin/mocha --timeout 20000 -R spec ./test/*.js",
"start": "node example/server.js",
"coveralls": "./node_modules/mocha/bin/mocha --require blanket --reporter mocha-lcov-reporter ./test/*.js | ./node_modules/coveralls/bin/coveralls.js",
"coveralls": "./node_modules/mocha/bin/mocha --timeout 20000 --require blanket --reporter mocha-lcov-reporter ./test/*.js | ./node_modules/coveralls/bin/coveralls.js",
"coverage": "./node_modules/mocha/bin/mocha --timeout 20000 --require blanket --reporter html-cov ./test/*.js > coverage.html",
"complexity": "./node_modules/plato/bin/plato -r -d complexity lib",
"performance": "node --allow-natives-syntax --harmony ./node_modules/mocha/bin/_mocha --reporter mocha-performance ./test/*.js",
Expand Down
2 changes: 1 addition & 1 deletion test/proxy.js
Expand Up @@ -29,5 +29,5 @@ before(function(done) {
async.map(instances, function(dbStore, callback) {
dbStore.populate(callback);
}, done);
}, 5000);
}, 10000);
});

0 comments on commit a99ff5c

Please sign in to comment.