mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
a7b9adc692
* feat(web+server): map improvements * add number format double to fix mobile
15 lines
367 B
TypeScript
15 lines
367 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(),
|
|
getMapMarkers: jest.fn(),
|
|
};
|
|
};
|