test: tighten anthropic stream assertion · openclaw/openclaw@8d695fc
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -110,7 +110,7 @@ describe("anthropic stream wrappers", () => {
|
110 | 110 | it("composes the anthropic provider stream chain from extra params", () => { |
111 | 111 | const captured = runComposedAnthropicProviderStream("sk-ant-api-123"); |
112 | 112 | expect(captured.headers?.["anthropic-beta"]).toContain(CONTEXT_1M_BETA); |
113 | | -expect(captured.payload).toMatchObject({ service_tier: "auto" }); |
| 113 | +expect(captured.payload).toEqual({ service_tier: "auto" }); |
114 | 114 | }); |
115 | 115 | }); |
116 | 116 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。