mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
8 lines
232 B
TypeScript
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(),
|
|
};
|
|
};
|