test: dedupe local daemon mock read · openclaw/openclaw@02ddaaf
steipete
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
src/commands/onboard-non-interactive/local
| Original file line number | Diff line number | Diff line change |
|---|
@@ -76,7 +76,7 @@ describe("installGatewayDaemonNonInteractive", () => {
|
76 | 76 | |
77 | 77 | expect(resolveGatewayInstallToken).toHaveBeenCalledTimes(1); |
78 | 78 | expect(buildGatewayInstallPlan).toHaveBeenCalledTimes(1); |
79 | | -expect("token" in buildGatewayInstallPlan.mock.calls.at(0)?.[0]).toBe(false); |
| 79 | +expect("token" in buildGatewayInstallPlan.mock.calls[0]?.[0]).toBe(false); |
80 | 80 | expect(serviceInstall).toHaveBeenCalledTimes(1); |
81 | 81 | }); |
82 | 82 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。