test: tighten agent runtime secret target assertions · openclaw/openclaw@7013112
steipete
·
2026-05-09
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -150,9 +150,7 @@ describe("agentCommand runtime config", () => {
|
150 | 150 | expect(resolveCommandConfigWithSecretsMock).toHaveBeenCalledWith({ |
151 | 151 | config: loadedConfig, |
152 | 152 | commandName: "agent", |
153 | | -targetIds: expect.objectContaining({ |
154 | | -has: expect.any(Function), |
155 | | -}), |
| 153 | +targetIds: new Set(["models.providers.*.apiKey"]), |
156 | 154 | runtime, |
157 | 155 | }); |
158 | 156 | const targetIds = resolveCommandConfigWithSecretsMock.mock.calls[0]?.[0].targetIds; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。