mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
4b3f8d1946
* commit * controller/service/repository logic * use enum * openapi * suggest people * suggest place/camera * cursor hover * refactor * Add try catch * Remove get people with name service * Remove deadcode * people selection * People placement * sort people * Update server/src/domain/repositories/metadata.repository.ts Co-authored-by: Jason Rasmussen <jrasm91@gmail.com> * pr feedback * styling * done * open api * fix test * use string type * remmove bad merge * use correct type * fix test * fix lint * remove unused code * remove unused code * pr feedback * pr feedback --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
18 lines
459 B
TypeScript
18 lines
459 B
TypeScript
import { IMetadataRepository } from '@app/domain';
|
|
|
|
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
|
|
return {
|
|
init: jest.fn(),
|
|
teardown: jest.fn(),
|
|
reverseGeocode: jest.fn(),
|
|
readTags: jest.fn(),
|
|
writeTags: jest.fn(),
|
|
extractBinaryTag: jest.fn(),
|
|
getCameraMakes: jest.fn(),
|
|
getCameraModels: jest.fn(),
|
|
getCities: jest.fn(),
|
|
getCountries: jest.fn(),
|
|
getStates: jest.fn(),
|
|
};
|
|
};
|