mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
10 lines
267 B
TypeScript
10 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(),
|
|
};
|
|
};
|