23897dff4f
* Use consistent colouring of username with avatar * Upgrade Compound to fix Firefox issue * Use the approapriate color shade for usernames * Use the approapriate color shade for usernames * Upgrade Compound * Fix tests
46 lines
984 B
Text
46 lines
984 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`RoomAvatar should render as expected for a DM room 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_2lhia_17 mx_BaseAvatar _avatar-imageless_2lhia_56"
|
|
data-color="1"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
D
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a LocalRoom 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_2lhia_17 mx_BaseAvatar _avatar-imageless_2lhia_56"
|
|
data-color="7"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
l
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`RoomAvatar should render as expected for a Room 1`] = `
|
|
<div>
|
|
<span
|
|
class="_avatar_2lhia_17 mx_BaseAvatar _avatar-imageless_2lhia_56"
|
|
data-color="2"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 36px;"
|
|
>
|
|
t
|
|
</span>
|
|
</div>
|
|
`;
|