mirror of https://github.com/vector-im/riot-web
Attempt to fix tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
75948587e4
commit
2a378f30b7
|
@ -48,6 +48,7 @@ export function createTestClient() {
|
|||
getDomain: jest.fn().mockReturnValue("matrix.rog"),
|
||||
getUserId: jest.fn().mockReturnValue("@userId:matrix.rog"),
|
||||
|
||||
getPushRuleById: jest.fn().mockReturnValue(null),
|
||||
getPushActionsForEvent: jest.fn(),
|
||||
getRoom: jest.fn().mockImplementation(mkStubRoom),
|
||||
getRooms: jest.fn().mockReturnValue([]),
|
||||
|
|
Loading…
Reference in New Issue