repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'renovate/all-minor-patch' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
testing
/
lib
/
event-manager.ts
blob
e22b7f4d32f90a09433f14a32e39b7ced5494a28
1
import type { EventManager } from '@proton/shared/lib/eventManager/eventManager';
2
3
export const mockEventManager: EventManager = {
4
call: jest.fn().mockReturnValue(Promise.resolve()),
5
setEventID: jest.fn(),
6
getEventID: jest.fn(),
7
start: jest.fn(),
8
stop: jest.fn(),
9
reset: jest.fn(),
10
subscribe: jest.fn(),
11
};