1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00
immich/server/test/repositories/map.repository.mock.ts
2024-10-11 00:44:38 -04:00

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(),
};
};