mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-26 11:26:17 +03:00
return the correct exit code from jest
This commit is contained in:
parent
2bf6a04f81
commit
edad2caf8e
1 changed files with 1 additions and 1 deletions
|
@ -309,6 +309,6 @@ exports.startUnitTest = async () => {
|
|||
|
||||
child.on("close", function (code) {
|
||||
console.log("Jest exit code: " + code);
|
||||
process.kill(process.pid, "SIGINT");
|
||||
process.exit(code);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue