1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-30 04:23:07 +03:00

test typescriptification - autodiscovery / crypto specs (#2550)

* spec/unit/autodiscovery.spec.js -> spec/unit/autodiscovery.spec.ts

* fix ts in autodiscovery.spec

* renamed:    spec/unit/crypto.spec.js -> spec/unit/crypto.spec.ts

* fix ts in crypto.spec

* fix some strict errors
This commit is contained in:
Kerry
2022-07-29 11:11:01 +02:00
committed by GitHub
parent 3824f65d15
commit 4a4241806e
4 changed files with 152 additions and 113 deletions

View File

@ -27,7 +27,7 @@ describe("ContentRepo", function() {
});
it("should return the empty string for null input", function() {
expect(getHttpUriForMxc(null, null)).toEqual("");
expect(getHttpUriForMxc(null as any, '')).toEqual("");
});
it("should return a thumbnail URL if a width/height/resize is specified",