test: enumerate setup discovery entries · openclaw/openclaw@7a7b231
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
File tree
src/commands/channel-setup
| Original file line number | Diff line number | Diff line change |
|---|
@@ -159,16 +159,23 @@ describe("listManifestInstalledChannelIds", () => {
|
159 | 159 | env: { OPENCLAW_HOME: "/tmp/home" } as NodeJS.ProcessEnv, |
160 | 160 | }); |
161 | 161 | |
162 | | -expect(resolved.entries).toStrictEqual([ |
163 | | -{ |
164 | | -id: "telegram", |
165 | | -meta: expect.objectContaining({ |
166 | | -label: "Telegram", |
167 | | -selectionLabel: "Telegram", |
168 | | -blurb: "bot token", |
169 | | -docsPath: "/channels/telegram", |
170 | | -}), |
171 | | -}, |
172 | | -]); |
| 162 | +expect(resolved).toStrictEqual({ |
| 163 | +entries: [ |
| 164 | +{ |
| 165 | +id: "telegram", |
| 166 | +meta: { |
| 167 | +id: "telegram", |
| 168 | +label: "Telegram", |
| 169 | +selectionLabel: "Telegram", |
| 170 | +blurb: "bot token", |
| 171 | +docsPath: "/channels/telegram", |
| 172 | +}, |
| 173 | +}, |
| 174 | +], |
| 175 | +installedCatalogEntries: [], |
| 176 | +installableCatalogEntries: [], |
| 177 | +installedCatalogById: new Map(), |
| 178 | +installableCatalogById: new Map(), |
| 179 | +}); |
173 | 180 | }); |
174 | 181 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。