test: lone plugin allow warning · openclaw/openclaw@a814173
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -555,11 +555,13 @@ describe("config plugin validation", () => {
|
555 | 555 | ); |
556 | 556 | |
557 | 557 | expect(res.ok).toBe(true); |
558 | | -expect(res.warnings ?? []).toContainEqual({ |
559 | | -path: "plugins.allow", |
560 | | -message: |
561 | | -"plugin not installed: discord — install the official external plugin with: openclaw plugins install @openclaw/discord", |
562 | | -}); |
| 558 | +expect(res.warnings ?? []).toEqual([ |
| 559 | +{ |
| 560 | +path: "plugins.allow", |
| 561 | +message: |
| 562 | +"plugin not installed: discord — install the official external plugin with: openclaw plugins install @openclaw/discord", |
| 563 | +}, |
| 564 | +]); |
563 | 565 | }); |
564 | 566 | |
565 | 567 | it("uses persisted installed-plugin records as stale channel evidence", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。