mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 11:56:46 +01:00
50c9bc0336
* chore: jest => vitest * chore: replace jest-when
9 lines
288 B
TypeScript
9 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(),
|
|
};
|
|
};
|