aboutsummaryrefslogtreecommitdiff
path: root/test/mocha
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2018-02-20 17:38:40 +0800
committerGitHub <noreply@github.com>2018-02-20 17:38:40 +0800
commit39a907bde3161f74e298a7fc8502fb0f6a05eaed (patch)
tree3d1d62c3ea94e1b2050ea1a7400c8d5d4acae653 /test/mocha
parent70474310f3ba7f2f4395117ad2d779ced016075b (diff)
downloadtracifyjs-39a907bde3161f74e298a7fc8502fb0f6a05eaed.tar.gz
tracifyjs-39a907bde3161f74e298a7fc8502fb0f6a05eaed.zip
workaround `pure_getters=true` when dropping unused assignments (#2939)
fixes #2938
Diffstat (limited to 'test/mocha')
-rw-r--r--test/mocha/release.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mocha/release.js b/test/mocha/release.js
index 656ade8d..063d0fc7 100644
--- a/test/mocha/release.js
+++ b/test/mocha/release.js
@@ -38,7 +38,7 @@ describe("test/jetstream.js", function() {
this.timeout(20 * 60 * 1000);
[
"-mc",
- "-mc keep_fargs=false,passes=3,unsafe,unsafe_comps,unsafe_math,unsafe_proto",
+ "-mc keep_fargs=false,passes=3,pure_getters,unsafe,unsafe_comps,unsafe_math,unsafe_proto",
].forEach(function(options) {
it("Should pass with options " + options, function(done) {
var args = options.split(/ /);