mirror of
https://github.com/obra/superpowers.git
synced 2026-06-15 15:19:04 +08: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