test: dedupe command secret target mock read · openclaw/openclaw@a9215ef
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -147,7 +147,7 @@ describe("command secret targets module import", () => {
|
147 | 147 | expect(targets.has("channels.telegram.gatewayToken")).toBe(false); |
148 | 148 | expect(targets.has("channels.telegram.gatewayTokenRef")).toBe(false); |
149 | 149 | expect(targets.has("agents.defaults.memorySearch.remote.apiKey")).toBe(true); |
150 | | -const pluginCall = listReadOnlyChannelPluginsForConfig.mock.calls.at(0) as unknown as |
| 150 | +const pluginCall = listReadOnlyChannelPluginsForConfig.mock.calls[0] as unknown as |
151 | 151 | | [unknown, { includePersistedAuthState?: boolean }] |
152 | 152 | | undefined; |
153 | 153 | expect(typeof pluginCall?.[0]).toBe("object"); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。