2023-09-27 20:44:51 +02:00
|
|
|
import { IMetadataRepository } from '@app/domain';
|
|
|
|
|
|
|
|
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
|
|
|
|
return {
|
|
|
|
init: jest.fn(),
|
2023-10-18 18:02:42 -04:00
|
|
|
teardown: jest.fn(),
|
2023-09-27 20:44:51 +02:00
|
|
|
reverseGeocode: jest.fn(),
|
2023-11-30 04:52:28 +01:00
|
|
|
readTags: jest.fn(),
|
|
|
|
writeTags: jest.fn(),
|
2024-01-22 10:04:45 -08:00
|
|
|
extractBinaryTag: jest.fn(),
|
2024-02-13 13:54:58 -06:00
|
|
|
getCameraMakes: jest.fn(),
|
|
|
|
getCameraModels: jest.fn(),
|
|
|
|
getCities: jest.fn(),
|
|
|
|
getCountries: jest.fn(),
|
|
|
|
getStates: jest.fn(),
|
2023-09-27 20:44:51 +02:00
|
|
|
};
|
|
|
|
};
|