fix keyword shorthand property output for ecma >= 6 (#2493)
fixes #2491
This commit is contained in:
@@ -10,7 +10,7 @@ function read(path) {
|
||||
describe("bin/uglifyjs", function () {
|
||||
var uglifyjscmd = '"' + process.argv[0] + '" bin/uglifyjs';
|
||||
it("should produce a functional build when using --self", function (done) {
|
||||
this.timeout(60000);
|
||||
this.timeout(120000);
|
||||
|
||||
var command = uglifyjscmd + ' --self -mc ecma=';
|
||||
command += semver.satisfies(process.version, ">=4") ? "6" : "5";
|
||||
|
||||
Reference in New Issue
Block a user