test: tighten external plugin repair hint assertion · openclaw/openclaw@932f1c9
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -31,13 +31,16 @@ describe("resolveMissingOfficialExternalChannelPluginRepairHint", () => {
|
31 | 31 | config: { channels: { feishu: { appId: "cli_xxx" } } }, |
32 | 32 | channelId: "feishu", |
33 | 33 | }), |
34 | | -).toEqual( |
35 | | -expect.objectContaining({ |
36 | | -channelId: "feishu", |
37 | | -installCommand: "openclaw plugins install @openclaw/feishu", |
38 | | -doctorFixCommand: "openclaw doctor --fix", |
39 | | -}), |
40 | | -); |
| 34 | +).toEqual({ |
| 35 | +pluginId: "feishu", |
| 36 | +channelId: "feishu", |
| 37 | +label: "Feishu", |
| 38 | +installSpec: "@openclaw/feishu", |
| 39 | +installCommand: "openclaw plugins install @openclaw/feishu", |
| 40 | +doctorFixCommand: "openclaw doctor --fix", |
| 41 | +repairHint: |
| 42 | +"Install the official external plugin with: openclaw plugins install @openclaw/feishu, or run: openclaw doctor --fix.", |
| 43 | +}); |
41 | 44 | }); |
42 | 45 | |
43 | 46 | it("does not return install hints for policy-blocked official external channel owners", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。