[Pkg-javascript-commits] [uglifyjs] 124/190: Attempt to increase timeout for mocha let test.

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 7 23:17:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.

commit 21befe583ffac6a9c27c8e9d67eae39feb5b528f
Author: kzc <zaxxon2011 at gmail.com>
Date:   Tue Mar 15 11:44:09 2016 -0400

    Attempt to increase timeout for mocha let test.
---
 test/mocha/let.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/test/mocha/let.js b/test/mocha/let.js
index c4ffe38..89fd9f1 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();
     });
 });
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list