From b632d0312a0f0a0cef8967ef055b90848eb2a8ac Mon Sep 17 00:00:00 2001 From: Mark Probst Date: Mon, 20 Jul 2026 13:23:23 -0400 Subject: [PATCH] Fix process.process.exit typo in the test harness error path When main() rejects (e.g. a fixture setupCommand fails on a network flake), the catch handler crashed with "Cannot read properties of undefined (reading 'exit')" instead of exiting cleanly, burying the real error under a TypeError. Introduced in 232e259e. Co-Authored-By: Claude Fable 5 --- test/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.ts b/test/test.ts index dd9a1933a5..a3c87d1d29 100755 --- a/test/test.ts +++ b/test/test.ts @@ -85,5 +85,5 @@ async function main(sources: string[]) { // skip 2 `node` args main(process.argv.slice(2)).catch((reason) => { console.error(reason); - process.process.exit(1); + process.exit(1); });