mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +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(),
|
|
};
|
|
};
|