mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
11 lines
272 B
TypeScript
11 lines
272 B
TypeScript
|
import { IMapRepository } from 'src/interfaces/map.interface';
|
||
|
import { Mocked } from 'vitest';
|
||
|
|
||
|
export const newMapRepositoryMock = (): Mocked<IMapRepository> => {
|
||
|
return {
|
||
|
init: vitest.fn(),
|
||
|
reverseGeocode: vitest.fn(),
|
||
|
getMapMarkers: vitest.fn(),
|
||
|
};
|
||
|
};
|