test: tighten live media plan assertion · openclaw/openclaw@d7b73d8
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -66,10 +66,8 @@ describe("test-live-media", () => {
|
66 | 66 | |
67 | 67 | expect(plan).toHaveLength(1); |
68 | 68 | const [entry] = plan; |
69 | | -expect(entry).toMatchObject({ |
70 | | -suite: { id: "video" }, |
71 | | -providers: ["fal", "openai", "runway"], |
72 | | -}); |
| 69 | +expect(entry?.suite.id).toBe("video"); |
| 70 | +expect(entry?.providers).toEqual(["fal", "openai", "runway"]); |
73 | 71 | }); |
74 | 72 | |
75 | 73 | it("forwards quiet flags separately from passthrough args", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。