Merge pull request #20878 from timvandermeij/exit-code

Use a non-zero exit code if the tests failed
This commit is contained in:
Tim van der Meij 2026-03-15 19:44:18 +01:00 committed by GitHub
commit 6ca9389d25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
};
}