mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 00:10:21 +00:00
test: trim core partial mocks
This commit is contained in:
@@ -39,8 +39,8 @@ vi.mock("../utils.js", async () => {
|
||||
};
|
||||
});
|
||||
|
||||
vi.mock("node:child_process", async (importOriginal) => {
|
||||
const actual = await importOriginal<typeof import("node:child_process")>();
|
||||
vi.mock("node:child_process", async () => {
|
||||
const actual = await vi.importActual<typeof import("node:child_process")>("node:child_process");
|
||||
return {
|
||||
...actual,
|
||||
spawn,
|
||||
|
||||
Reference in New Issue
Block a user