mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
11 lines
267 B
TypeScript
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(),
|
|
};
|
|
};
|