You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
Suppress TS warning about returning null MatrixClient
This commit is contained in:
@@ -65,6 +65,7 @@ describe("DeviceSettingsHandler", () => {
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
// @ts-ignore Allow returning a null MatrixClient
|
||||
MatrixClientPeg.get = () => null;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user