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

Add helpers for authenticated media, and associated documentation (#4185)

* Add helpers for authenticated media, and associated documentation

* Appease the linter
This commit is contained in:
Travis Ralston
2024-05-02 15:11:09 -06:00
committed by GitHub
parent 41e8c2af34
commit 402adfbe8a
5 changed files with 105 additions and 5 deletions

View File

@ -386,6 +386,9 @@ describe("MatrixClient", function () {
expect(client.mxcUrlToHttp(mxc, 32, 46, "scale", false, true)).toBe(
getHttpUriForMxc(client.baseUrl, mxc, 32, 46, "scale", false, true),
);
expect(client.mxcUrlToHttp(mxc, 32, 46, "scale", false, true, true)).toBe(
getHttpUriForMxc(client.baseUrl, mxc, 32, 46, "scale", false, true, true),
);
});
});