import { IEventRepository } from 'src/interfaces/event.interface'; import { Mocked, vitest } from 'vitest'; export const newEventRepositoryMock = (): Mocked => { return { setup: vitest.fn(), emit: vitest.fn() as any, clientSend: vitest.fn() as any, clientBroadcast: vitest.fn() as any, serverSend: vitest.fn(), }; };