chore: Fix broken test.

This commit is contained in:
cpojer
2026-02-17 15:54:17 +09:00
parent bcf862f69f
commit 73668bb963

View File

@@ -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(() => {});