immich/server/test/repositories/metadata.repository.mock.ts
Daniel Dietzler 30f499cf2e
chore(server): use absolute import paths (#8080)
update server to use absolute import paths
2024-03-20 14:32:04 -04:00

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(),
};
};