From 2a378f30b7f3b71deddcba306078c78332c647a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 3 Aug 2021 15:38:12 +0200 Subject: [PATCH] Attempt to fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- test/test-utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-utils.js b/test/test-utils.js index 5e29fd242e..6d0d930d93 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -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([]),