mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Update src/Avatar.test.tsx
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
This commit is contained in:
@@ -71,7 +71,7 @@ test("should just render a placeholder when the user has no avatar", () => {
|
|||||||
expect(client.mxcUrlToHttp).toBeCalledTimes(0);
|
expect(client.mxcUrlToHttp).toBeCalledTimes(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("should just render a placeholder when thumbnaisl are not supported", () => {
|
test("should just render a placeholder when thumbnails are not supported", () => {
|
||||||
const client = vi.mocked<MatrixClient>({
|
const client = vi.mocked<MatrixClient>({
|
||||||
getAccessToken: () => "my-access-token",
|
getAccessToken: () => "my-access-token",
|
||||||
mxcUrlToHttp: () => vi.fn(),
|
mxcUrlToHttp: () => vi.fn(),
|
||||||
|
|||||||
Reference in New Issue
Block a user