mirror of https://github.com/openclaw/openclaw.git
test: trim more agent tool mocks
This commit is contained in:
parent
e286ba2bab
commit
1fbf863f53
|
|
@ -74,8 +74,9 @@ vi.mock("../../infra/outbound/message-action-runner.js", async () => {
|
|||
};
|
||||
});
|
||||
|
||||
vi.mock("../../config/config.js", async (importOriginal) => {
|
||||
const actual = await importOriginal<typeof import("../../config/config.js")>();
|
||||
vi.mock("../../config/config.js", async () => {
|
||||
const actual =
|
||||
await vi.importActual<typeof import("../../config/config.js")>("../../config/config.js");
|
||||
return {
|
||||
...actual,
|
||||
loadConfig: mocks.loadConfig,
|
||||
|
|
|
|||
Loading…
Reference in New Issue