improve tests (#3405)

This commit is contained in:
Alex Lam S.L
2019-05-11 22:03:41 +08:00
committed by alexlamsl
parent 9fc8cd4076
commit e88c439eac
6 changed files with 140 additions and 92 deletions

View File

@@ -0,0 +1,9 @@
require("./run")([
"-mc",
"-mc keep_fargs=false,passes=3,pure_getters,unsafe,unsafe_comps,unsafe_math,unsafe_proto",
].map(function(options) {
var args = options.split(/ /);
args.unshift("test/jetstream.js");
args.push("-b", "beautify=false,webkit");
return args;
}));