Skip to content

Commit 8055e74

Browse files
committed
test(doctor): mock system gateway discovery in e2e harness
1 parent b929701 commit 8055e74

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/commands/doctor.e2e-harness.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export const createConfigIO = vi.fn(() => ({
105105
export const findLegacyGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn;
106106
export const uninstallLegacyGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn;
107107
export const findExtraGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn;
108+
export const findSystemGatewayServices = vi.fn().mockResolvedValue([]) as unknown as MockFn;
108109
export const renderGatewayServiceCleanupHints = vi
109110
.fn()
110111
.mockReturnValue(["cleanup"]) as unknown as MockFn;
@@ -280,6 +281,7 @@ vi.mock("../daemon/legacy.js", () => ({
280281

281282
vi.mock("../daemon/inspect.js", () => ({
282283
findExtraGatewayServices,
284+
findSystemGatewayServices,
283285
renderGatewayServiceCleanupHints,
284286
}));
285287

0 commit comments

Comments
 (0)