mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 10:28:54 -07:00
30f499cf2e
update server to use absolute import paths
18 lines
491 B
TypeScript
18 lines
491 B
TypeScript
import { IMetadataRepository } from 'src/domain/repositories/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(),
|
|
};
|
|
};
|