From d37ee4d41c70aa309550e7337f75126ef2932c62 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Tue, 19 Jan 2021 23:27:32 +0000 Subject: support asynchronous test cases properly (#4529) --- test/mocha/cli.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/mocha') 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) { -- cgit v1.2.3