mirror of
https://github.com/immich-app/immich.git
synced 2025-02-18 01:24:26 -05:00
* 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(),
|
|
};
|
|
};
|