2023-05-22 01:53:23 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<PinnedEventTile /> should render pinned event 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile"
|
|
|
|
>
|
|
|
|
<span
|
2023-09-22 10:35:36 +02:00
|
|
|
class="_avatar_ylj7w_17 mx_BaseAvatar mx_PinnedEventTile_senderAvatar _avatar-imageless_ylj7w_56"
|
2023-08-24 05:48:35 +02:00
|
|
|
data-color="6"
|
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
2023-05-22 01:53:23 +02:00
|
|
|
role="presentation"
|
2023-08-24 05:48:35 +02:00
|
|
|
style="--cpd-avatar-size: 24px;"
|
2023-05-22 01:53:23 +02:00
|
|
|
>
|
2023-08-24 05:48:35 +02:00
|
|
|
a
|
2023-05-22 01:53:23 +02:00
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="mx_PinnedEventTile_sender mx_Username_color6"
|
|
|
|
>
|
|
|
|
@alice:server.org
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile_message"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_MTextBody mx_EventTile_content"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_EventTile_body"
|
|
|
|
dir="auto"
|
|
|
|
>
|
|
|
|
First pinned message
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_PinnedEventTile_footer"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_MessageTimestamp mx_PinnedEventTile_timestamp"
|
|
|
|
>
|
2023-08-21 21:38:59 +02:00
|
|
|
Thu, Jan 1, 1970, 00:00
|
2023-05-22 01:53:23 +02:00
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View message
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|