test: dedupe litellm image mock read · openclaw/openclaw@3a44d88
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
Commit 3a44d88
test: dedupe litellm image mock read
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -193,7 +193,7 @@ describe("litellm image generation provider", () => {
|
193 | 193 | }); |
194 | 194 | |
195 | 195 | expect(mockObjectArg(postJsonRequestMock).url).toBe("http://localhost:4000/images/edits"); |
196 | | -const call = postJsonRequestMock.mock.calls.at(0)?.[0] as { body: { images: unknown[] } }; |
| 196 | +const call = postJsonRequestMock.mock.calls[0]?.[0] as { body: { images: unknown[] } }; |
197 | 197 | expect(call.body.images).toHaveLength(1); |
198 | 198 | }); |
199 | 199 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)