test(doctor): mock system gateway discovery in e2e harness · openclaw/openclaw@8055e74
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -105,6 +105,7 @@ export const createConfigIO = vi.fn(() => ({
|
105 | 105 | export const findLegacyGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn; |
106 | 106 | export const uninstallLegacyGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn; |
107 | 107 | export const findExtraGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn; |
| 108 | +export const findSystemGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn; |
108 | 109 | export const renderGatewayServiceCleanupHints = vi |
109 | 110 | .fn() |
110 | 111 | .mockReturnValue(["cleanup"]) as unknown as MockFn; |
@@ -280,6 +281,7 @@ vi.mock("../daemon/legacy.js", () => ({
|
280 | 281 | |
281 | 282 | vi.mock("../daemon/inspect.js", () => ({ |
282 | 283 | findExtraGatewayServices, |
| 284 | + findSystemGatewayServices, |
283 | 285 | renderGatewayServiceCleanupHints, |
284 | 286 | })); |
285 | 287 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。