1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-04-03 22:56:25 +02:00
immich/server/test/repositories/move.repository.mock.ts
2025-02-11 14:08:13 -05:00

12 lines
372 B
TypeScript

import { MoveRepository } from 'src/repositories/move.repository';
import { RepositoryInterface } from 'src/types';
import { Mocked, vitest } from 'vitest';
export const newMoveRepositoryMock = (): Mocked<RepositoryInterface<MoveRepository>> => {
return {
create: vitest.fn(),
getByEntity: vitest.fn(),
update: vitest.fn(),
delete: vitest.fn(),
};
};