mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
a7b9adc692
* feat(web+server): map improvements * add number format double to fix mobile
14 lines
367 B
TypeScript
14 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(),
|
|
};
|
|
};
|