mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
9 lines
246 B
TypeScript
9 lines
246 B
TypeScript
import { ICronRepository } from 'src/interfaces/cron.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newCronRepositoryMock = (): Mocked<ICronRepository> => {
|
|
return {
|
|
create: vitest.fn(),
|
|
update: vitest.fn(),
|
|
};
|
|
};
|