fix(test): repair rebased gate failures

This commit is contained in:
Peter Steinberger
2026-04-10 09:20:34 +01:00
parent c2e2b87f28
commit feb3c7f823
5 changed files with 18 additions and 1 deletions

View File

@@ -43,6 +43,12 @@ vi.mock("../channels/plugins/setup-registry.js", () => ({
vi.mock("../channels/registry.js", () => ({
listChatChannels: () => [],
getChatChannelMeta: (channelId?: unknown) => ({
id: typeof channelId === "string" ? channelId : "unknown",
label: typeof channelId === "string" ? channelId : "Unknown",
}),
normalizeChatChannelId: (channelId?: unknown) =>
typeof channelId === "string" ? channelId.trim().toLowerCase() : undefined,
}));
vi.mock("../commands/channel-setup/discovery.js", () => ({