import { IVersionHistoryRepository } from 'src/interfaces/version-history.interface'; import { Mocked, vitest } from 'vitest'; export const newVersionHistoryRepositoryMock = (): Mocked => { return { getAll: vitest.fn().mockResolvedValue([]), getLatest: vitest.fn(), create: vitest.fn(), }; };