immich/server/test/repositories/communication.repository.mock.ts
2023-12-13 12:23:51 -05:00

11 lines
267 B
TypeScript

import { ICommunicationRepository } from '@app/domain';
export const newCommunicationRepositoryMock = (): jest.Mocked<ICommunicationRepository> => {
return {
send: jest.fn(),
broadcast: jest.fn(),
on: jest.fn(),
sendServerEvent: jest.fn(),
};
};