mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
386eef046d
* refactor: job to domain * chore: regenerate open api * chore: tests * fix: missing breaks * fix: get asset with missing exif data --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
13 lines
297 B
TypeScript
13 lines
297 B
TypeScript
import { IAssetRepository } from '../src';
|
|
|
|
export const newAssetRepositoryMock = (): jest.Mocked<IAssetRepository> => {
|
|
return {
|
|
getByIds: jest.fn(),
|
|
getWithout: jest.fn(),
|
|
getAll: jest.fn(),
|
|
deleteAll: jest.fn(),
|
|
save: jest.fn(),
|
|
findLivePhotoMatch: jest.fn(),
|
|
};
|
|
};
|