Conform more of the codebase to strictNullChecks & noImplicitAny (#25680)

This commit is contained in:
Michael Telatynski
2023-06-28 15:09:36 +01:00
committed by GitHub
parent 6bbc2b8238
commit 0299aef79d
2 changed files with 39 additions and 8 deletions

View File

@@ -460,8 +460,8 @@ describe("loading:", function () {
httpBackend.verifyNoOutstandingExpectation();
expect(matrixChat?.container.querySelector(".mx_Welcome")).toBeTruthy();
expect(windowLocation?.hash).toEqual("#/welcome");
expect(MatrixClientPeg.get().baseUrl).toEqual(DEFAULT_HS_URL);
expect(MatrixClientPeg.get().idBaseUrl).toEqual(DEFAULT_IS_URL);
expect(MatrixClientPeg.safeGet().baseUrl).toEqual(DEFAULT_HS_URL);
expect(MatrixClientPeg.safeGet().idBaseUrl).toEqual(DEFAULT_IS_URL);
});
});