mirror of
https://github.com/immich-app/immich.git
synced 2025-03-01 15:11:21 +01:00
12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
import { ICommunicationRepository } from 'src/interfaces/communication.interface';
|
|
|
|
export const newCommunicationRepositoryMock = (): jest.Mocked<ICommunicationRepository> => {
|
|
return {
|
|
send: jest.fn(),
|
|
broadcast: jest.fn(),
|
|
on: jest.fn(),
|
|
sendServerEvent: jest.fn(),
|
|
emit: jest.fn(),
|
|
emitAsync: jest.fn(),
|
|
};
|
|
};
|