mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
chore: Fix broken test.
This commit is contained in:
@@ -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(() => {});
|
||||
|
||||
Reference in New Issue
Block a user