mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-13 23:17:00 +08:00
return the correct exit code from jest
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user