test: tighten plugin status inspect assertions · openclaw/openclaw@0c6200c
shakkernerd
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -726,8 +726,8 @@ describe("plugin status reports", () => {
|
726 | 726 | capabilityMode: "hybrid", |
727 | 727 | capabilityKinds: ["text-inference", "media-understanding", "image-generation", "web-search"], |
728 | 728 | }); |
729 | | -expect(inspect?.usesLegacyBeforeAgentStart).toBe(true); |
730 | | -expect(inspect?.compatibility).toEqual([ |
| 729 | +expect(inspect.usesLegacyBeforeAgentStart).toBe(true); |
| 730 | +expect(inspect.compatibility).toEqual([ |
731 | 731 | createCompatibilityNotice({ pluginId: "google", code: "legacy-before-agent-start" }), |
732 | 732 | ]); |
733 | 733 | expectInspectPolicy(inspect, { |
@@ -739,7 +739,7 @@ describe("plugin status reports", () => {
|
739 | 739 | allowedModels: ["openai/gpt-5.5"], |
740 | 740 | hasAllowedModelsConfig: true, |
741 | 741 | }); |
742 | | -expect(inspect?.diagnostics).toEqual([ |
| 742 | +expect(inspect.diagnostics).toEqual([ |
743 | 743 | { level: "warn", pluginId: "google", message: "watch this surface" }, |
744 | 744 | ]); |
745 | 745 | }); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。