diff options
author | kzc <zaxxon2011@gmail.com> | 2016-03-15 11:44:09 -0400 |
---|---|---|
committer | kzc <zaxxon2011@gmail.com> | 2016-03-15 11:44:09 -0400 |
commit | 21befe583ffac6a9c27c8e9d67eae39feb5b528f (patch) | |
tree | 6da435ecd23a3f7387119a1987a980f6202edf2c /test/mocha | |
parent | a9d4a6291b2f3c2531ff4bdd59ac75edd0a06d60 (diff) | |
download | tracifyjs-21befe583ffac6a9c27c8e9d67eae39feb5b528f.tar.gz tracifyjs-21befe583ffac6a9c27c8e9d67eae39feb5b528f.zip |
Attempt to increase timeout for mocha let test.
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/let.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/mocha/let.js b/test/mocha/let.js index c4ffe389..89fd9f1a 100644 --- a/test/mocha/let.js +++ b/test/mocha/let.js @@ -2,7 +2,9 @@ var Uglify = require('../../'); var assert = require("assert"); describe("let", function() { - it("Should not produce `let` as a variable name in mangle", function() { + it("Should not produce `let` as a variable name in mangle", function(done) { + this.timeout(10000); + // Produce a lot of variables in a function and run it through mangle. var s = '"use strict"; function foo() {'; for (var i = 0; i < 21000; ++i) { @@ -21,6 +23,8 @@ describe("let", function() { // to show the test generated enough symbols. assert(result.code.indexOf("var ket=") >= 0); assert(result.code.indexOf("var met=") >= 0); + + done(); }); }); |