mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
10 lines
288 B
TypeScript
10 lines
288 B
TypeScript
import { ISystemMetadataRepository } from 'src/interfaces/system-metadata.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newSystemMetadataRepositoryMock = (): Mocked<ISystemMetadataRepository> => {
|
|
return {
|
|
get: vitest.fn() as any,
|
|
set: vitest.fn(),
|
|
};
|
|
};
|