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