2024-03-20 11:32:04 -07:00
|
|
|
import { IMetadataRepository } from 'src/domain/repositories/metadata.repository';
|
2023-09-27 11:44:51 -07:00
|
|
|
|
|
|
|
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
|
|
|
|
return {
|
|
|
|
init: jest.fn(),
|
2023-10-18 15:02:42 -07:00
|
|
|
teardown: jest.fn(),
|
2023-09-27 11:44:51 -07:00
|
|
|
reverseGeocode: jest.fn(),
|
2023-11-29 20:52:28 -07:00
|
|
|
readTags: jest.fn(),
|
|
|
|
writeTags: jest.fn(),
|
2024-01-22 11:04:45 -07:00
|
|
|
extractBinaryTag: jest.fn(),
|
2024-02-13 12:54:58 -07:00
|
|
|
getCameraMakes: jest.fn(),
|
|
|
|
getCameraModels: jest.fn(),
|
|
|
|
getCities: jest.fn(),
|
|
|
|
getCountries: jest.fn(),
|
|
|
|
getStates: jest.fn(),
|
2023-09-27 11:44:51 -07:00
|
|
|
};
|
|
|
|
};
|