extend Node.js I/O buffer for test
This commit is contained in:
parent
7bbfd7bad0
commit
6719c020cf
|
|
@ -16,7 +16,7 @@ describe("bin/uglifyjs", function () {
|
||||||
command += semver.satisfies(process.version, ">=4") ? "6" : "5";
|
command += semver.satisfies(process.version, ">=4") ? "6" : "5";
|
||||||
command += ',passes=3,keep_fargs=false,unsafe --wrap WrappedUglifyJS';
|
command += ',passes=3,keep_fargs=false,unsafe --wrap WrappedUglifyJS';
|
||||||
|
|
||||||
exec(command, function (err, stdout) {
|
exec(command, { maxBuffer: 1048576 }, function (err, stdout) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
|
|
||||||
eval(stdout);
|
eval(stdout);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user