test: dedupe daemon install mock read · openclaw/openclaw@27e47ae
openclaw
·
2026-05-13
·
via Recent Commits to openclaw:main
Commit 27e47ae
test: dedupe daemon install mock read
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -158,7 +158,7 @@ describe("runDaemonInstall integration", () => {
|
158 | 158 | const persistedToken = gateway.auth?.token; |
159 | 159 | expect(persistedToken).toEqual(expect.stringMatching(/^[0-9a-f]{48}$/)); |
160 | 160 | |
161 | | -const installEnv = serviceMock.install.mock.calls.at(0)?.[0]?.environment; |
| 161 | +const installEnv = serviceMock.install.mock.calls[0]?.[0]?.environment; |
162 | 162 | expect(installEnv?.OPENCLAW_GATEWAY_TOKEN).toBeUndefined(); |
163 | 163 | }); |
164 | 164 | }); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments