test: check skipped stream chunks exactly · openclaw/openclaw@2e7794d
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -992,7 +992,7 @@ describe("openai transport stream", () => {
|
992 | 992 | |
993 | 993 | await __testing.processOpenAICompletionsStream(mockStream(), output, model, stream); |
994 | 994 | |
995 | | -expect(output.content).toContainEqual({ type: "text", text: "ok" }); |
| 995 | +expect(output.content).toStrictEqual([{ type: "text", text: "ok" }]); |
996 | 996 | expect(output.stopReason).toBe("stop"); |
997 | 997 | }); |
998 | 998 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。