mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
27e283e724
search suggestions now include partner assets Co-authored-by: Alex <alex.tran1502@gmail.com>
12 lines
352 B
TypeScript
12 lines
352 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().mockResolvedValue([]),
|
|
get: vitest.fn(),
|
|
update: vitest.fn(),
|
|
};
|
|
};
|