mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-28 18:33:37 +00:00
test: restore runtime-aware cli mocks
This commit is contained in:
@@ -13,7 +13,8 @@ vi.mock("./gateway-rpc.js", () => ({
|
||||
callGatewayFromCli,
|
||||
}));
|
||||
|
||||
vi.mock("../runtime.js", () => ({
|
||||
vi.mock("../runtime.js", async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import("../runtime.js")>()),
|
||||
defaultRuntime,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user