1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00
immich/server/test/repositories/process.repository.mock.ts

8 lines
232 B
TypeScript

import { IProcessRepository } from 'src/interfaces/process.interface';
import { Mocked, vitest } from 'vitest';
export const newProcessRepositoryMock = (): Mocked<IProcessRepository> => {
return {
spawn: vitest.fn(),
};
};