mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-13 21:59:30 +00:00
Update src/Avatar.test.tsx
Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
This commit is contained in:
co-authored by
Hugh Nimmo-Smith
parent
d76d316016
commit
0b50df7927
+1
-1
@@ -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