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