Fix companion test cleanup and argv assertions

This commit is contained in:
Drew Ritter
2026-06-10 19:37:30 -07:00
parent 3f047bdb64
commit fa0b76b1f2
3 changed files with 10 additions and 8 deletions

View File

@@ -298,7 +298,10 @@ async function runTests() {
});
console.log(`\n--- Results: ${passed} passed, ${failed} failed ---`);
if (failed > 0) process.exit(1);
if (failed > 0) {
process.exitCode = 1;
return;
}
} finally {
server.kill();
await sleep(100);