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