mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
b588a87d4a
rename domain repositories
18 lines
481 B
TypeScript
18 lines
481 B
TypeScript
import { IMetadataRepository } from 'src/interfaces/metadata.interface';
|
|
|
|
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(),
|
|
};
|
|
};
|