mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 10:28:54 -07:00
30f499cf2e
update server to use absolute import paths
13 lines
351 B
TypeScript
13 lines
351 B
TypeScript
import { ICommunicationRepository } from 'src/domain/repositories/communication.repository';
|
|
|
|
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(),
|
|
};
|
|
};
|