test: tighten media vision skip output assertion · openclaw/openclaw@b865bdd
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -204,7 +204,9 @@ describe("runCapability image skip", () => {
|
204 | 204 | }); |
205 | 205 | |
206 | 206 | expect(result.decision.outcome).toBe("success"); |
207 | | -expect(result.outputs[0]).toMatchObject({ |
| 207 | +expect(requireCapabilityOutput(result, 0)).toEqual({ |
| 208 | +kind: "image.description", |
| 209 | +attachmentIndex: 0, |
208 | 210 | provider: "openrouter", |
209 | 211 | model: "google/gemini-2.5-flash", |
210 | 212 | text: "explicit ok", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。