test: tighten moonshot manifest env assertion · openclaw/openclaw@0787bff
shakkernerd
·
2026-05-11
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -20,7 +20,9 @@ describe("moonshot provider plugin", () => {
|
20 | 20 | it("mirrors Kimi web-search env credentials in manifest metadata", () => { |
21 | 21 | const manifestEnvVars = readManifest().providerAuthEnvVars?.moonshot ?? []; |
22 | 22 | |
23 | | -expect(manifestEnvVars).toEqual(expect.arrayContaining(createKimiWebSearchProvider().envVars)); |
| 23 | +expect([...manifestEnvVars].sort()).toStrictEqual( |
| 24 | +[...createKimiWebSearchProvider().envVars].sort(), |
| 25 | +); |
24 | 26 | }); |
25 | 27 | |
26 | 28 | it("owns replay policy for OpenAI-compatible Moonshot transports without mangling native Kimi tool_call IDs", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。