test: dedupe auth choice install mock read · openclaw/openclaw@068e6e0
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -461,7 +461,7 @@ describe("applyAuthChoiceLoadedPluginProvider", () => {
|
461 | 461 | const result = await applyAuthChoiceLoadedPluginProvider(buildParams()); |
462 | 462 | |
463 | 463 | expect(ensureOnboardingPluginInstalled).toHaveBeenCalledOnce(); |
464 | | -const [installParams] = ensureOnboardingPluginInstalled.mock.calls.at(0) ?? []; |
| 464 | +const [installParams] = ensureOnboardingPluginInstalled.mock.calls[0] ?? []; |
465 | 465 | if (installParams === undefined) { |
466 | 466 | throw new Error("expected plugin install params"); |
467 | 467 | } |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。