diff --git a/test/test.mjs b/test/test.mjs index 07722fb3a..64f6f4bd8 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -743,6 +743,7 @@ function onAllSessionsClosedAfterTests(name) { } var runtime = (Date.now() - startTime) / 1000; console.log(name + " tests runtime was " + runtime.toFixed(1) + " seconds"); + process.exit(numErrors > 0 ? 1 : 0); }; }