mirror of
https://github.com/immich-app/immich.git
synced 2025-04-03 22:56:25 +02:00
10 lines
317 B
TypeScript
10 lines
317 B
TypeScript
import { CronRepository } from 'src/repositories/cron.repository';
|
|
import { RepositoryInterface } from 'src/types';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newCronRepositoryMock = (): Mocked<RepositoryInterface<CronRepository>> => {
|
|
return {
|
|
create: vitest.fn(),
|
|
update: vitest.fn(),
|
|
};
|
|
};
|