test: dedupe cli plugin registry mock read · openclaw/openclaw@06c3318
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -32,7 +32,7 @@ function expectConfiguredChannelPluginIdsParams(expected: {
|
32 | 32 | workspaceDir?: string; |
33 | 33 | }) { |
34 | 34 | expect(mocks.resolveConfiguredChannelPluginIds).toHaveBeenCalledTimes(1); |
35 | | -const params = mocks.resolveConfiguredChannelPluginIds.mock.calls.at(0)?.[0] as |
| 35 | +const params = mocks.resolveConfiguredChannelPluginIds.mock.calls[0]?.[0] as |
36 | 36 | | { config?: unknown; env?: NodeJS.ProcessEnv; workspaceDir?: string } |
37 | 37 | | undefined; |
38 | 38 | expect(params?.config).toBe(expected.config); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。