fix(cli): make program test mocks portable

This commit is contained in:
Peter Steinberger
2026-02-14 21:15:48 +01:00
parent 00b7ab7db7
commit c9f02da89f

View File

@@ -10,11 +10,9 @@ export const callGateway: Mock = vi.fn();
export const runChannelLogin: Mock = vi.fn();
export const runChannelLogout: Mock = vi.fn();
export const runTui: Mock = vi.fn();
export const loadAndMaybeMigrateDoctorConfig: Mock = vi.fn();
export const ensureConfigReady: Mock = vi.fn();
export const ensurePluginRegistryLoaded: Mock = vi.fn();
export const runtime: { log: Mock; error: Mock; exit: Mock<() => never> } = {
log: vi.fn(),
error: vi.fn(),