1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

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(),
isUserIgnored: jest.fn().mockReturnValue(false),
};
}