mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
6e93ddf2f1
* refactor: server events * fix typo --------- Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
10 lines
282 B
TypeScript
10 lines
282 B
TypeScript
import { IEventRepository } from 'src/interfaces/event.interface';
|
|
|
|
export const newEventRepositoryMock = (): jest.Mocked<IEventRepository> => {
|
|
return {
|
|
clientSend: jest.fn(),
|
|
clientBroadcast: jest.fn(),
|
|
serverSend: jest.fn(),
|
|
serverSendAsync: jest.fn(),
|
|
};
|
|
};
|