mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 21:50:22 +00:00
fix(test): repair rebased gate failures
This commit is contained in:
@@ -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", () => ({
|
||||
|
||||
Reference in New Issue
Block a user