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