Stub out MatrixClient::isUserIgnored for tests

This commit is contained in:
Michael Telatynski 2021-07-15 18:17:07 +01:00
parent 1437188282
commit 831c482371

View file

@ -96,6 +96,7 @@ export function createTestClient() {
}, },
}, },
decryptEventIfNeeded: () => Promise.resolve(), decryptEventIfNeeded: () => Promise.resolve(),
isUserIgnored: jest.fn().mockReturnValue(false),
}; };
} }