replace mocha dependency (#3131)

This commit is contained in:
Alex Lam S.L
2018-05-11 20:15:34 +08:00
committed by GitHub
parent 7bc7704edf
commit 7b59b2f5b2
3 changed files with 97 additions and 20 deletions

View File

@@ -18,9 +18,8 @@ if (failures) {
console.error("!!! " + Object.keys(failed_files).join(", "));
process.exit(1);
}
var mocha_tests = require("./mocha.js");
mocha_tests();
console.log();
require("./mocha.js");
/* -----[ utils ]----- */