mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 16:06:16 +00:00
test: trim more agent tool mocks
This commit is contained in:
@@ -74,8 +74,9 @@ vi.mock("../../infra/outbound/message-action-runner.js", async () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
vi.mock("../../config/config.js", async (importOriginal) => {
|
vi.mock("../../config/config.js", async () => {
|
||||||
const actual = await importOriginal<typeof import("../../config/config.js")>();
|
const actual =
|
||||||
|
await vi.importActual<typeof import("../../config/config.js")>("../../config/config.js");
|
||||||
return {
|
return {
|
||||||
...actual,
|
...actual,
|
||||||
loadConfig: mocks.loadConfig,
|
loadConfig: mocks.loadConfig,
|
||||||
|
|||||||
Reference in New Issue
Block a user