diff --git a/tests/test-utils/src/index.ts b/tests/test-utils/src/index.ts index 9fa3751b19..bb21809abc 100644 --- a/tests/test-utils/src/index.ts +++ b/tests/test-utils/src/index.ts @@ -40,9 +40,9 @@ const main = async (): Promise => { console.log("Failed"); console.log("Elapsed time", report.time.toLocaleString(), `ms`); } - if (exceptions.length) process.exit(-1); + if (exceptions.length) process.exit(1); }; main().catch((error) => { console.error(error); - process.exit(-1); + process.exit(1); });