mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
84f7ca855a
move domain interfaces
17 lines
482 B
TypeScript
17 lines
482 B
TypeScript
import { IMetadataRepository } from 'src/interfaces/metadata.repository';
|
|
|
|
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(),
|
|
};
|
|
};
|