Attempt to fix tests

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-08-03 15:38:12 +02:00
parent 75948587e4
commit 2a378f30b7
No known key found for this signature in database
GPG Key ID: CC823428E9B582FB
1 changed files with 1 additions and 0 deletions

View File

@ -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([]),