aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-01-19 23:27:32 +0000
committerGitHub <noreply@github.com>2021-01-20 07:27:32 +0800
commitd37ee4d41c70aa309550e7337f75126ef2932c62 (patch)
treef92d069caa23a7bb6824014a6139b68c8596811c /test/mocha
parent7793c6c389930dd10fdce5a12b24c95d5bb93933 (diff)
downloadtracifyjs-d37ee4d41c70aa309550e7337f75126ef2932c62.tar.gz
tracifyjs-d37ee4d41c70aa309550e7337f75126ef2932c62.zip
support asynchronous test cases properly (#4529)
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/cli.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mocha/cli.js b/test/mocha/cli.js
index c050b717..475eae65 100644
--- a/test/mocha/cli.js
+++ b/test/mocha/cli.js
@@ -56,7 +56,7 @@ describe("bin/uglifyjs", function() {
"--source-map", [
"names=true",
"url=inline",
- ].join(","),
+ ].join(),
].join(" "), function(err, stdout) {
if (err) throw err;
var expected = [
@@ -84,7 +84,7 @@ describe("bin/uglifyjs", function() {
"--source-map", [
"names=false",
"url=inline",
- ].join(","),
+ ].join(),
].join(" "), function(err, stdout) {
if (err) throw err;
var expected = [
@@ -171,7 +171,7 @@ describe("bin/uglifyjs", function() {
"content=" + mapFile,
"includeSources",
"url=inline",
- ].join(","),
+ ].join(),
].join(" ");
var child = exec(command, function(err, stdout) {