mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
50c9bc0336
* chore: jest => vitest * chore: replace jest-when
12 lines
301 B
TypeScript
12 lines
301 B
TypeScript
import { IMoveRepository } from 'src/interfaces/move.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newMoveRepositoryMock = (): Mocked<IMoveRepository> => {
|
|
return {
|
|
create: vitest.fn(),
|
|
getByEntity: vitest.fn(),
|
|
update: vitest.fn(),
|
|
delete: vitest.fn(),
|
|
};
|
|
};
|