Skip to content

Commit

Permalink
Merge ac464c5 into d63b143
Browse files Browse the repository at this point in the history
  • Loading branch information
pigeonman99 committed Mar 13, 2018
2 parents d63b143 + ac464c5 commit 94c25cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/build-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var Promise = require('promise');
var prepare = require('prepare-response');
var uglify = require('uglify-js');
var uglify = require('uglify-es');
var watchify = require('watchify');
var buildBundle = require('./build-bundle');

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"ms": "^0.7.1",
"prepare-response": "^2.1.1",
"promise": "^7.0.3",
"uglify-js": "^3.3.9",
"uglify-es": "^3.3.9",
"watchify": "^3.3.0"
}
}
}
4 changes: 2 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ describe('In NODE_ENV=production', function () {
});

describe('options.noParse', function () {
it('speeds things up by at least a factor of 5 (for jQuery)', function (done) {
it('speeds things up by at least a factor of 4 (for jQuery)', function (done) {
this.slow(1000)
this.timeout(20000)
var start = new Date();
Expand All @@ -487,7 +487,7 @@ describe('options.noParse', function () {
get('/file/jqnoparse.js', false, function (err, res) {
if (err) return done(err);
var end = new Date();
assert((middle - start) > (end - middle) * 5, 'Without noParse was ' + (middle - start) + ' with noParse was ' + (end - middle));
assert((middle - start) > (end - middle) * 4, 'Without noParse was ' + (middle - start) + ' with noParse was ' + (end - middle));
done();
});
});
Expand Down

0 comments on commit 94c25cf

Please sign in to comment.