immich/server/test/repositories/activity.repository.mock.ts
Daniel Dietzler 30f499cf2e
chore(server): use absolute import paths (#8080)
update server to use absolute import paths
2024-03-20 14:32:04 -04:00

11 lines
285 B
TypeScript

import { IActivityRepository } from 'src/domain/repositories/activity.repository';
export const newActivityRepositoryMock = (): jest.Mocked<IActivityRepository> => {
return {
search: jest.fn(),
create: jest.fn(),
delete: jest.fn(),
getStatistics: jest.fn(),
};
};