1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00
immich/server/test/repositories/partner.repository.mock.ts
Jason Rasmussen 50c9bc0336
chore: migrate to vitest (#7156)
* chore: jest => vitest

* chore: replace jest-when
2024-04-16 10:44:45 -04:00

12 lines
330 B
TypeScript

import { IPartnerRepository } from 'src/interfaces/partner.interface';
import { Mocked, vitest } from 'vitest';
export const newPartnerRepositoryMock = (): Mocked<IPartnerRepository> => {
return {
create: vitest.fn(),
remove: vitest.fn(),
getAll: vitest.fn(),
get: vitest.fn(),
update: vitest.fn(),
};
};