mirror of
https://github.com/immich-app/immich.git
synced 2025-03-01 15:11:21 +01:00
13 lines
337 B
TypeScript
13 lines
337 B
TypeScript
import { IAssetRepository } from '../src';
|
|
|
|
export const newAssetRepositoryMock = (): jest.Mocked<IAssetRepository> => {
|
|
return {
|
|
getByIds: jest.fn(),
|
|
getWithout: jest.fn(),
|
|
getFirstAssetForAlbumId: jest.fn(),
|
|
getAll: jest.fn(),
|
|
deleteAll: jest.fn(),
|
|
save: jest.fn(),
|
|
findLivePhotoMatch: jest.fn(),
|
|
};
|
|
};
|