improve tests (#3399)

This commit is contained in:
Alex Lam S.L
2019-05-09 07:18:22 +08:00
committed by GitHub
parent e4881245d9
commit 6a30e1d6be
3 changed files with 228 additions and 154 deletions

View File

@@ -3,6 +3,7 @@ var semver = require("semver");
var spawn = require("child_process").spawn;
if (!process.env.UGLIFYJS_TEST_ALL) return;
if (semver.satisfies(process.version, "0.12")) return;
function run(command, args, done) {
spawn(command, args, {
@@ -33,7 +34,6 @@ describe("test/benchmark.js", function() {
});
});
if (semver.satisfies(process.version, "0.12")) return;
describe("test/jetstream.js", function() {
this.timeout(20 * 60 * 1000);
[