immich/server/libs/domain/test/communication.repository.mock.ts
Jason Rasmussen 6745826f35
refactor(server): media service (#2051)
* refactor(server): media service

* merge main

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-03-23 21:40:46 -05:00

8 lines
185 B
TypeScript

import { ICommunicationRepository } from '../src';
export const newCommunicationRepositoryMock = (): jest.Mocked<ICommunicationRepository> => {
return {
send: jest.fn(),
};
};