test: clarify channel registry id assertion · openclaw/openclaw@3b254b4
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ describe("channel registry helpers", () => {
|
24 | 24 | |
25 | 25 | it("includes MS Teams in the bundled channel list", () => { |
26 | 26 | const channels = listChatChannels(); |
27 | | -expect(channels.some((channel) => channel.id === "msteams")).toBe(true); |
| 27 | +expect(channels.map((channel) => channel.id)).toContain("msteams"); |
28 | 28 | }); |
29 | 29 | |
30 | 30 | it("formats Telegram selection lines without a docs prefix and with website extras", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。