diff --git a/src/agents/tools/message-tool.test.ts b/src/agents/tools/message-tool.test.ts index bf62794165d5..32acc20bfcb0 100644 --- a/src/agents/tools/message-tool.test.ts +++ b/src/agents/tools/message-tool.test.ts @@ -111,6 +111,19 @@ const mocks = vi.hoisted(() => ({ ), })); +vi.mock("../../channels/plugins/bundled.js", async () => { + const actual = await vi.importActual( + "../../channels/plugins/bundled.js", + ); + // This unit suite installs minimal loaded plugins when it exercises channel actions. + // Bundled source entry loading belongs to the loader integration suites. + return { + ...actual, + getBundledChannelPlugin: vi.fn(() => undefined), + getBundledChannelSetupPlugin: vi.fn(() => undefined), + }; +}); + type RunMessageActionInput = { agentId?: string; cfg?: unknown;