mirror of
https://github.com/immich-app/immich.git
synced 2025-01-08 12:56:48 +01:00
7947f4db4c
* add migration * verify running migration populate new value * implemented service * generate api * FE works * FR Works * fix test * fix test fixture * fix test * fix test * consolidate api * fix test * added test * pr feedback * refactor * click ont humbnail to show feature selection as well
17 lines
381 B
TypeScript
17 lines
381 B
TypeScript
import { IPersonRepository } from '@app/domain';
|
|
|
|
export const newPersonRepositoryMock = (): jest.Mocked<IPersonRepository> => {
|
|
return {
|
|
getById: jest.fn(),
|
|
getAll: jest.fn(),
|
|
getAssets: jest.fn(),
|
|
getAllWithoutFaces: jest.fn(),
|
|
|
|
create: jest.fn(),
|
|
update: jest.fn(),
|
|
deleteAll: jest.fn(),
|
|
delete: jest.fn(),
|
|
|
|
getFaceById: jest.fn(),
|
|
};
|
|
};
|