From 73668bb9630db32128c3e822b6838b5ea0db5f9e Mon Sep 17 00:00:00 2001 From: cpojer Date: Tue, 17 Feb 2026 15:54:17 +0900 Subject: [PATCH] chore: Fix broken test. --- src/infra/unhandled-rejections.fatal-detection.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infra/unhandled-rejections.fatal-detection.test.ts b/src/infra/unhandled-rejections.fatal-detection.test.ts index d8daa8e63..40f1ee6bb 100644 --- a/src/infra/unhandled-rejections.fatal-detection.test.ts +++ b/src/infra/unhandled-rejections.fatal-detection.test.ts @@ -20,7 +20,7 @@ describe("installUnhandledRejectionHandler - fatal detection", () => { if (code !== undefined && code !== null) { exitCalls.push(code); } - throw new Error("process.exit"); + return undefined as never; }); consoleErrorSpy = vi.spyOn(console, "error").mockImplementation(() => {});