aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-12-28 02:32:22 +0000
committerGitHub <noreply@github.com>2019-12-28 02:32:22 +0000
commit4cf612dc9fb0d96b48e8e156810c00c06a6a2a46 (patch)
tree8ad08839a209ac84c0a90eda4b2995870413b929
parenta19d31dd33abdce5ff162d802705cd97cec10b5f (diff)
downloadtracifyjs-4cf612dc9fb0d96b48e8e156810c00c06a6a2a46.tar.gz
tracifyjs-4cf612dc9fb0d96b48e8e156810c00c06a6a2a46.zip
increase mocha default timeout (#3647)
closes #3640
-rw-r--r--test/mocha.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha.js b/test/mocha.js
index 5d65a5a2..04b42c10 100644
--- a/test/mocha.js
+++ b/test/mocha.js
@@ -1,7 +1,7 @@
var fs = require("fs");
var config = {
- limit: 5000,
+ limit: 10000,
timeout: function(limit) {
this.limit = limit;
}
@@ -55,11 +55,11 @@ process.nextTick(function run() {
var elapsed = Date.now();
var timer;
var done = function() {
- reset();
elapsed = Date.now() - elapsed;
if (elapsed > task.limit) {
throw new Error("Timed out: " + elapsed + "ms > " + task.limit + "ms");
}
+ reset();
log_titles(console.log, task.titles, green('\u221A '));
process.nextTick(run);
};