import { vi } from 'vitest'export const mockIsRunning = vi.fn().mockImplementation(() => true)export const mockStart = vi.fn().mockImplementation((options, cb) => cb(null, null))export const mockStop = vi.fn().mockImplementation((cb) => cb(null))export const mockLocal = vi.fn().mockImplementation(function (this: any) {this.isRunning = mockIsRunningthis.start = mockStartthis.stop = mockStop})export class Local {public isRunning = mockIsRunningpublic start = mockStartpublic stop = mockStop}