test: verify channel docs link · openclaw/openclaw@8b53bee
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -323,7 +323,7 @@ describe("resolveChannelSetupSelectionContributions", () => {
|
323 | 323 | if (typeof docsLink !== "function") { |
324 | 324 | throw new Error("Expected docs link formatter"); |
325 | 325 | } |
326 | | -expect(docsLink("/channels/zalo", "Docs")).toContain("https://docs.openclaw.ai/channels/zalo"); |
| 326 | +expect(docsLink("/channels/zalo", "Docs")).toBe("https://docs.openclaw.ai/channels/zalo"); |
327 | 327 | expect(lines).toEqual(["Zalo\\nBot — Setup\\nhelp"]); |
328 | 328 | }); |
329 | 329 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。