aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/cli.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js
index 82f76c0d..8642a6b4 100644
--- a/test/mocha/cli.js
+++ b/test/mocha/cli.js
@@ -109,9 +109,12 @@ describe("bin/uglifyjs", function() {
}
var command = [
uglifyjscmd,
- "--source-map", "content=" + mapFile,
- "--source-map", "includeSources=true",
- "--source-map", "url=inline",
+ "--beautify",
+ "--source-map", [
+ "content=" + mapFile,
+ "includeSources",
+ "url=inline",
+ ].join(","),
].join(" ");
var child = exec(command, function(err, stdout) {