test: dedupe qwen video request mock reads · openclaw/openclaw@0b4f012
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -73,7 +73,7 @@ describe("qwen video generation provider", () => {
|
73 | 73 | }); |
74 | 74 | |
75 | 75 | expect(postJsonRequestMock).toHaveBeenCalledTimes(1); |
76 | | -expectPostJsonRequest(postJsonRequestMock.mock.calls.at(0)?.[0], { |
| 76 | +expectPostJsonRequest(postJsonRequestMock.mock.calls[0]?.[0], { |
77 | 77 | url: "https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis", |
78 | 78 | body: { |
79 | 79 | model: "wan2.6-r2v-flash", |
@@ -135,7 +135,7 @@ describe("qwen video generation provider", () => {
|
135 | 135 | }); |
136 | 136 | |
137 | 137 | expect(postJsonRequestMock).toHaveBeenCalledTimes(1); |
138 | | -expectPostJsonRequest(postJsonRequestMock.mock.calls.at(0)?.[0], { |
| 138 | +expectPostJsonRequest(postJsonRequestMock.mock.calls[0]?.[0], { |
139 | 139 | url: "https://coding-intl.dashscope.aliyuncs.com/api/v1/services/aigc/video-generation/video-synthesis", |
140 | 140 | body: { |
141 | 141 | model: "wan2.6-t2v", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。