return the correct exit code from jest

pull/563/head
LouisLam 3 years ago
parent 2bf6a04f81
commit edad2caf8e

@ -309,6 +309,6 @@ exports.startUnitTest = async () => {
child.on("close", function (code) { child.on("close", function (code) {
console.log("Jest exit code: " + code); console.log("Jest exit code: " + code);
process.kill(process.pid, "SIGINT"); process.exit(code);
}); });
}; };

Loading…
Cancel
Save