mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 22:55:24 +00:00
test: trim auto-reply tools mock
This commit is contained in:
@@ -24,8 +24,10 @@ async function loadToolsHarness(options?: {
|
||||
};
|
||||
}) {
|
||||
vi.resetModules();
|
||||
vi.doMock("../../agents/agent-scope.js", async (importOriginal) => {
|
||||
const actual = await importOriginal<typeof import("../../agents/agent-scope.js")>();
|
||||
vi.doMock("../../agents/agent-scope.js", async () => {
|
||||
const actual = await vi.importActual<typeof import("../../agents/agent-scope.js")>(
|
||||
"../../agents/agent-scope.js",
|
||||
);
|
||||
return {
|
||||
...actual,
|
||||
resolveSessionAgentId: () => "main",
|
||||
|
||||
Reference in New Issue
Block a user