You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Conform more of the codebase to strictNullChecks + noImplicitAny (#11179)
This commit is contained in:
committed by
GitHub
parent
7c211b0587
commit
a294ba2ad4
@ -418,7 +418,11 @@ describe("<MatrixChat />", () => {
|
||||
// this is used to create a temporary client during login
|
||||
jest.spyOn(MatrixJs, "createClient").mockReturnValue(loginClient);
|
||||
|
||||
loginClient.login.mockClear().mockResolvedValue({});
|
||||
loginClient.login.mockClear().mockResolvedValue({
|
||||
access_token: "TOKEN",
|
||||
device_id: "IMADEVICE",
|
||||
user_id: userId,
|
||||
});
|
||||
loginClient.loginFlows.mockClear().mockResolvedValue({ flows: [{ type: "m.login.password" }] });
|
||||
|
||||
loginClient.getProfileInfo.mockResolvedValue({
|
||||
|
Reference in New Issue
Block a user