2023-01-05 17:05:21 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`RoomAvatar should render as expected for a DM room 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
2023-10-12 13:12:59 +02:00
|
|
|
class="_avatar_1o69u_17 mx_BaseAvatar _avatar-imageless_1o69u_60"
|
2023-08-24 05:48:35 +02:00
|
|
|
data-color="1"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-01-05 17:05:21 +01:00
|
|
|
role="presentation"
|
2023-08-24 05:48:35 +02:00
|
|
|
style="--cpd-avatar-size: 36px;"
|
2023-01-05 17:05:21 +01:00
|
|
|
>
|
2023-08-24 05:48:35 +02:00
|
|
|
D
|
2023-01-05 17:05:21 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`RoomAvatar should render as expected for a LocalRoom 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
2023-10-12 13:12:59 +02:00
|
|
|
class="_avatar_1o69u_17 mx_BaseAvatar _avatar-imageless_1o69u_60"
|
2023-08-24 05:48:35 +02:00
|
|
|
data-color="7"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-01-05 17:05:21 +01:00
|
|
|
role="presentation"
|
2023-08-24 05:48:35 +02:00
|
|
|
style="--cpd-avatar-size: 36px;"
|
2023-01-05 17:05:21 +01:00
|
|
|
>
|
2023-08-24 05:48:35 +02:00
|
|
|
l
|
2023-01-05 17:05:21 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`RoomAvatar should render as expected for a Room 1`] = `
|
|
|
|
<div>
|
|
|
|
<span
|
2023-10-12 13:12:59 +02:00
|
|
|
class="_avatar_1o69u_17 mx_BaseAvatar _avatar-imageless_1o69u_60"
|
2023-08-24 05:48:35 +02:00
|
|
|
data-color="2"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-01-05 17:05:21 +01:00
|
|
|
role="presentation"
|
2023-08-24 05:48:35 +02:00
|
|
|
style="--cpd-avatar-size: 36px;"
|
2023-01-05 17:05:21 +01:00
|
|
|
>
|
2023-08-24 05:48:35 +02:00
|
|
|
t
|
2023-01-05 17:05:21 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
`;
|