1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-07 12:26:47 +01:00
immich/server/test/repositories/metadata.repository.mock.ts

18 lines
481 B
TypeScript
Raw Normal View History

import { IMetadataRepository } from 'src/interfaces/metadata.interface';
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
return {
init: jest.fn(),
2023-10-19 00:02:42 +02:00
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(),
};
};