mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
5463660746
* move markers and style to dedicated map endpoint * chore: open api * chore: clean up repos --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
11 lines
301 B
TypeScript
11 lines
301 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(),
|
|
fetchStyle: vitest.fn(),
|
|
};
|
|
};
|