aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/spidermonkey.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/spidermonkey.js')
-rw-r--r--test/mocha/spidermonkey.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/mocha/spidermonkey.js b/test/mocha/spidermonkey.js
index 196f1447..32351d03 100644
--- a/test/mocha/spidermonkey.js
+++ b/test/mocha/spidermonkey.js
@@ -10,7 +10,9 @@ describe("spidermonkey export/import sanity test", function() {
var command = uglifyjs + " --self -cm --wrap SpiderUglify -o spidermonkey | " +
uglifyjs + " -p spidermonkey -cm";
- exec(command, function(err, stdout) {
+ exec(command, {
+ maxBuffer: 1048576
+ }, function(err, stdout) {
if (err) throw err;
eval(stdout);