2023-06-08 15:01:07 +00:00
|
|
|
import { ISharedLinkRepository } from '@app/domain';
|
2023-01-25 16:35:28 +00:00
|
|
|
|
|
|
|
export const newSharedLinkRepositoryMock = (): jest.Mocked<ISharedLinkRepository> => {
|
|
|
|
return {
|
|
|
|
getAll: jest.fn(),
|
|
|
|
get: jest.fn(),
|
|
|
|
getByKey: jest.fn(),
|
|
|
|
create: jest.fn(),
|
|
|
|
remove: jest.fn(),
|
2023-06-02 02:09:57 +00:00
|
|
|
update: jest.fn(),
|
2023-01-25 16:35:28 +00:00
|
|
|
};
|
|
|
|
};
|