mirror of
https://github.com/immich-app/immich.git
synced 2025-02-08 18:55:33 +02:00
13 lines
330 B
TypeScript
13 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(),
|
|
};
|
|
};
|