Conform more of the codebase to strict types (#11191)

This commit is contained in:
Michael Telatynski
2023-07-05 11:53:22 +01:00
committed by GitHub
parent 4044c2aa66
commit 8107f1d271
25 changed files with 88 additions and 57 deletions
@@ -131,7 +131,7 @@ describe("InteractiveAuthDialog", function () {
const successfulResult = { test: 1 };
const makeRequest = jest
.fn()
.mockRejectedValueOnce(new MatrixError({ data: { flows: [{ stages: ["m.login.sso"] }] } }, 401))
.mockRejectedValueOnce(new MatrixError({ flows: [{ stages: ["m.login.sso"] }] }, 401))
.mockResolvedValue(successfulResult);
mockClient.credentials = { userId: "@user:id" };