aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-02-13 18:24:57 +0000
committerGitHub <noreply@github.com>2021-02-14 02:24:57 +0800
commita6bb66931bfdd04d6ce05b640d89a8deff7ca3de (patch)
tree27f9d8b8b4d04ebab385bdd7f7f60b18422eeae1 /test/mocha
parent766742e1d35027a3ef4a99115c3fc9fabd212537 (diff)
downloadtracifyjs-a6bb66931bfdd04d6ce05b640d89a8deff7ca3de.tar.gz
tracifyjs-a6bb66931bfdd04d6ce05b640d89a8deff7ca3de.zip
improve fix for #4325 (#4649)
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/reduce.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mocha/reduce.js b/test/mocha/reduce.js
index 587aa7be..9e3fc8be 100644
--- a/test/mocha/reduce.js
+++ b/test/mocha/reduce.js
@@ -294,8 +294,9 @@ describe("test/reduce.js", function() {
"// }",
]).join("\n"));
});
- it("Should maintain block-scope for const & let", function() {
+ it("Should maintain block-scope for const/let", function() {
if (semver.satisfies(process.version, "<4")) return;
+ this.timeout(120000);
var code = [
'"use strict";',
"",