From 06e3d53c8ad455bd0706a9e39952e5aa6d406988 Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Fri, 17 Apr 2026 12:32:33 -0400 Subject: [PATCH] Tests: avoid bundled channel fallback in adapter test Register a lightweight Telegram test plugin so the default-adapter assertion stays inside the in-memory registry instead of loading the real bundled channel runtime. --- src/infra/outbound/channel-adapters.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/infra/outbound/channel-adapters.test.ts b/src/infra/outbound/channel-adapters.test.ts index eaf9ee1e00b..4b66c32a207 100644 --- a/src/infra/outbound/channel-adapters.test.ts +++ b/src/infra/outbound/channel-adapters.test.ts @@ -36,6 +36,11 @@ describe("getChannelMessageAdapter", () => { setActivePluginRegistry( createTestRegistry([ { pluginId: "discord", plugin: discordCrossContextPlugin, source: "test" }, + { + pluginId: "telegram", + plugin: createChannelTestPluginBase({ id: "telegram" }), + source: "test", + }, ]), ); });