mirror of https://github.com/openclaw/openclaw.git
fix(cli): make program test mocks portable
This commit is contained in:
parent
00b7ab7db7
commit
c9f02da89f
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue