mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-20 13:41:30 +00:00
test: restore runtime-aware cli mocks
This commit is contained in:
@@ -51,7 +51,8 @@ vi.mock("../globals.js", () => ({
|
||||
setVerbose: (enabled: boolean) => setVerbose(enabled),
|
||||
}));
|
||||
|
||||
vi.mock("../runtime.js", () => ({
|
||||
vi.mock("../runtime.js", async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import("../runtime.js")>()),
|
||||
defaultRuntime,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user