mirror of
https://github.com/immich-app/immich.git
synced 2025-04-03 22:56:25 +02:00
12 lines
372 B
TypeScript
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(),
|
|
};
|
|
};
|