mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
b588a87d4a
rename domain repositories
10 lines
275 B
TypeScript
10 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(),
|
|
};
|
|
};
|