2023-05-22 02:53:23 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<PinnedEventTile /> should render pinned event 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile"
|
|
|
|
>
|
|
|
|
<span
|
2024-03-07 17:40:03 +03:00
|
|
|
class="_avatar_mcap2_17 mx_BaseAvatar mx_PinnedEventTile_senderAvatar _avatar-imageless_mcap2_61"
|
2024-02-07 20:26:05 +03:00
|
|
|
data-color="2"
|
2023-08-24 06:48:35 +03:00
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-05-22 02:53:23 +03:00
|
|
|
role="presentation"
|
2023-08-24 06:48:35 +03:00
|
|
|
style="--cpd-avatar-size: 24px;"
|
2023-05-22 02:53:23 +03:00
|
|
|
>
|
2023-08-24 06:48:35 +03:00
|
|
|
a
|
2023-05-22 02:53:23 +03:00
|
|
|
</span>
|
|
|
|
<span
|
2024-02-07 20:26:05 +03:00
|
|
|
class="mx_PinnedEventTile_sender mx_Username_color2"
|
2023-05-22 02:53:23 +03:00
|
|
|
>
|
|
|
|
@alice:server.org
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile_message"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_MTextBody mx_EventTile_content"
|
|
|
|
>
|
2024-08-01 01:23:46 +03:00
|
|
|
<div
|
2024-07-25 19:58:33 +03:00
|
|
|
class="mx_EventTile_body translate"
|
2023-05-22 02:53:23 +03:00
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
First pinned message
|
2024-08-01 01:23:46 +03:00
|
|
|
</div>
|
2023-05-22 02:53:23 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile_footer"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp mx_PinnedEventTile_timestamp"
|
|
|
|
>
|
2023-08-21 22:38:59 +03:00
|
|
|
Thu, Jan 1, 1970, 00:00
|
2023-05-22 02:53:23 +03:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View message
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|