2025-04-15 14:01:44 +02:00

15 lines
310 B
JavaScript

import { vi } from "vitest";
export const mockInstaller = {
isCodexInstalled: vi.fn(),
getCodexVersion: vi.fn(),
installCodex: vi.fn(),
uninstallCodex: vi.fn(),
};
export const mockProcessControl = {
getNumberOfCodexProcesses: vi.fn(),
stopCodexProcess: vi.fn(),
startCodexProcess: vi.fn(),
};