2024-03-21 12:59:49 +01:00
|
|
|
import { IMetadataRepository } from 'src/interfaces/metadata.interface';
|
2023-09-27 20:44:51 +02:00
|
|
|
|
|
|
|
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
|
|
|
|
return {
|
|
|
|
init: jest.fn(),
|
2023-10-19 00:02:42 +02: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 19:04:45 +01:00
|
|
|
extractBinaryTag: jest.fn(),
|
2024-02-13 20:54:58 +01:00
|
|
|
getCameraMakes: jest.fn(),
|
|
|
|
getCameraModels: jest.fn(),
|
|
|
|
getCities: jest.fn(),
|
|
|
|
getCountries: jest.fn(),
|
|
|
|
getStates: jest.fn(),
|
2023-09-27 20:44:51 +02:00
|
|
|
};
|
|
|
|
};
|