mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-13 13:18:51 +00:00
test: trim more agent tool mocks
This commit is contained in:
parent
e286ba2bab
commit
1fbf863f53
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue