Stub out MatrixClient::isUserIgnored for tests

pull/21833/head
Michael Telatynski 2021-07-15 18:17:07 +01:00
parent 1437188282
commit 831c482371
1 changed files with 1 additions and 0 deletions

View File

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