test: verify voice call command activation · openclaw/openclaw@0eafe99
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -482,8 +482,8 @@ describe("bundled plugin metadata", () => {
|
482 | 482 | ({ manifest }) => manifest.id === "voice-call", |
483 | 483 | ); |
484 | 484 | |
485 | | -expect(entry?.manifest.commandAliases).toContainEqual({ name: "voicecall" }); |
486 | | -expect(entry?.manifest.activation?.onCommands).toContain("voicecall"); |
| 485 | +expect(entry?.manifest.commandAliases).toStrictEqual([{ name: "voicecall" }]); |
| 486 | +expect(entry?.manifest.activation?.onCommands).toStrictEqual(["voicecall"]); |
487 | 487 | }); |
488 | 488 | |
489 | 489 | it("keeps empty-config Gateway startup narrower than declared startup sidecars", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。