mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
3a44e8f8d3
* use storageRepository in metadata extraction * move metadata extraction processor to domain * cleanup infra/domain --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
10 lines
262 B
TypeScript
10 lines
262 B
TypeScript
import { IMetadataRepository } from '@app/domain';
|
|
|
|
export const newMetadataRepositoryMock = (): jest.Mocked<IMetadataRepository> => {
|
|
return {
|
|
deleteCache: jest.fn(),
|
|
getExifTags: jest.fn(),
|
|
init: jest.fn(),
|
|
reverseGeocode: jest.fn(),
|
|
};
|
|
};
|