mirror of
https://github.com/obra/superpowers
synced 2026-07-10 12:44:29 +00:00
Fix companion test cleanup and argv assertions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user