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
|
2024-02-07 18:26:05 +01:00
|
|
|
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_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
|
2024-02-07 18:26:05 +01:00
|
|
|
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_60"
|
|
|
|
data-color="3"
|
2023-08-24 05:48:35 +02:00
|
|
|
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
|
2024-02-07 18:26:05 +01:00
|
|
|
class="_avatar_k41ul_17 mx_BaseAvatar _avatar-imageless_k41ul_60"
|
|
|
|
data-color="6"
|
2023-08-24 05:48:35 +02:00
|
|
|
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>
|
|
|
|
`;
|