immich/server/test/repositories/metadata.repository.mock.ts

13 lines
315 B
TypeScript
Raw Normal View History

import { IMetadataRepository } from '@app/domain';
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
return {
init: jest.fn(),
2023-10-18 15:02:42 -07:00
teardown: jest.fn(),
reverseGeocode: jest.fn(),
readTags: jest.fn(),
writeTags: jest.fn(),
extractBinaryTag: jest.fn(),
};
};