aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-09-02 18:41:10 +0100
committerGitHub <noreply@github.com>2020-09-03 01:41:10 +0800
commit375ebe316d8ff1a421c1cafc95d64e3377f7737b (patch)
treebaa24cfb6cb1b5f6fef5765bda97eeca71a31389 /test/mocha
parent2500930234304c89d6b9a87cb95fe07d1a8bc6c5 (diff)
downloadtracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.tar.gz
tracifyjs-375ebe316d8ff1a421c1cafc95d64e3377f7737b.zip
enhance `join_vars` (#4089)
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/reduce.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mocha/reduce.js b/test/mocha/reduce.js
index c1864735..7e2d4601 100644
--- a/test/mocha/reduce.js
+++ b/test/mocha/reduce.js
@@ -24,6 +24,9 @@ describe("test/reduce.js", function() {
});
it("Should eliminate unreferenced labels", function() {
var result = reduce_test(read("test/input/reduce/label.js"), {
+ compress: {
+ unsafe_math: true,
+ },
mangle: false,
}, {
verbose: false,