import { vi } from 'vitest'class ReplMock {start = vi.fn().mockReturnValue({ on: this.on.bind(this) })on (event: string, cb: Function) {cb(event)}}export default new ReplMock()
import { vi } from 'vitest'class ReplMock {start = vi.fn().mockReturnValue({ on: this.on.bind(this) })on (event: string, cb: Function) {cb(event)}}export default new ReplMock()