From 831c4823715f2bfae710d6a652417967eb9ad99f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 15 Jul 2021 18:17:07 +0100 Subject: [PATCH] Stub out MatrixClient::isUserIgnored for tests --- test/test-utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-utils.js b/test/test-utils.js index ad56522965..d75abc80f0 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -96,6 +96,7 @@ export function createTestClient() { }, }, decryptEventIfNeeded: () => Promise.resolve(), + isUserIgnored: jest.fn().mockReturnValue(false), }; }