mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
10 lines
272 B
TypeScript
10 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(),
|
|
};
|
|
};
|