mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
b588a87d4a
rename domain repositories
11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
import { IActivityRepository } from 'src/interfaces/activity.interface';
|
|
|
|
export const newActivityRepositoryMock = (): jest.Mocked<IActivityRepository> => {
|
|
return {
|
|
search: jest.fn(),
|
|
create: jest.fn(),
|
|
delete: jest.fn(),
|
|
getStatistics: jest.fn(),
|
|
};
|
|
};
|