test: tighten bundled plugin schema assertion · openclaw/openclaw@c131865
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -454,7 +454,8 @@ describe("bundled plugin metadata", () => {
|
454 | 454 | |
455 | 455 | it("keeps config schemas on all bundled plugin manifests", () => { |
456 | 456 | for (const entry of listRepoBundledPluginMetadata()) { |
457 | | -expect(entry.manifest.configSchema).toEqual(expect.any(Object)); |
| 457 | +expect(entry.manifest.configSchema).not.toBeNull(); |
| 458 | +expect(typeof entry.manifest.configSchema).toBe("object"); |
458 | 459 | expect(Array.isArray(entry.manifest.configSchema)).toBe(false); |
459 | 460 | } |
460 | 461 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。