test: clarify telegram reserved command assertion · openclaw/openclaw@5bdec91
steipete
·
2026-05-08
·
via Recent Commits to openclaw:main
Commit 5bdec91
test: clarify telegram reserved command assertion
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -211,6 +211,6 @@ describe("createTelegramBot command menu", () => {
|
211 | 211 | { command: "custom_generate", description: "Create an image" }, |
212 | 212 | ]); |
213 | 213 | const reserved = new Set(listNativeCommandSpecs().map((command) => command.name)); |
214 | | -expect(registered.some((command) => reserved.has(command.command))).toBe(false); |
| 214 | +expect(registered.filter((command) => reserved.has(command.command))).toEqual([]); |
215 | 215 | }); |
216 | 216 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)