mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
84f7ca855a
move domain interfaces
10 lines
276 B
TypeScript
10 lines
276 B
TypeScript
import { IActivityRepository } from 'src/interfaces/activity.repository';
|
|
|
|
export const newActivityRepositoryMock = (): jest.Mocked<IActivityRepository> => {
|
|
return {
|
|
search: jest.fn(),
|
|
create: jest.fn(),
|
|
delete: jest.fn(),
|
|
getStatistics: jest.fn(),
|
|
};
|
|
};
|