chore: Fix broken test.

This commit is contained in:
cpojer 2026-02-17 15:54:17 +09:00
parent bcf862f69f
commit 73668bb963
No known key found for this signature in database
GPG Key ID: C29F94A3201118AF
1 changed files with 1 additions and 1 deletions

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