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>
16 lines
483 B
TypeScript
16 lines
483 B
TypeScript
import { IMetadataRepository } from 'src/interfaces/metadata.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newMetadataRepositoryMock = (): Mocked<IMetadataRepository> => {
|
|
return {
|
|
teardown: vitest.fn(),
|
|
readTags: vitest.fn(),
|
|
writeTags: vitest.fn(),
|
|
extractBinaryTag: vitest.fn(),
|
|
getCameraMakes: vitest.fn(),
|
|
getCameraModels: vitest.fn(),
|
|
getCities: vitest.fn(),
|
|
getCountries: vitest.fn(),
|
|
getStates: vitest.fn(),
|
|
};
|
|
};
|