public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19d31d
)
increase mocha default timeout (#3647)
author
Alex Lam S.L
<alexlamsl@gmail.com>
Sat, 28 Dec 2019 02:32:22 +0000
(
02:32
+0000)
committer
GitHub
<noreply@github.com>
Sat, 28 Dec 2019 02:32:22 +0000
(
02:32
+0000)
closes #3640
test/mocha.js
patch
|
blob
|
history
diff --git
a/test/mocha.js
b/test/mocha.js
index
5d65a5a
..
04b42c1
100644
(file)
--- a/
test/mocha.js
+++ b/
test/mocha.js
@@
-1,7
+1,7
@@
var fs = require("fs");
var config = {
- limit:
5
000,
+ limit:
10
000,
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);
};