mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 10:56:47 +01:00
9 lines
232 B
TypeScript
9 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(),
|
||
|
};
|
||
|
};
|