mirror of https://github.com/openclaw/openclaw.git
chore: Fix broken test.
This commit is contained in:
parent
bcf862f69f
commit
73668bb963
|
|
@ -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(() => {});
|
||||
|
|
|
|||
Loading…
Reference in New Issue