Skip to content

Commit

Permalink
Update test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmz committed Jan 25, 2025
1 parent e97826b commit 1d982db
Showing 1 changed file with 38 additions and 13 deletions.
51 changes: 38 additions & 13 deletions test/jest/__snapshots__/post-attachments.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -118,38 +118,63 @@ exports[`PostAttachments > Displays all post attachment types 1`] = `
</div>
</div>
<div
class="general-attachments"
class="video-attachments"
>
<div
aria-label="Attachment sunrise.mp4 (117.7 MiB)"
aria-label="Video attachment sunrise.mp4 (117.7 MiB)"
class="attachment"
role="figure"
>
<a
href="https://media/sunrise.mp4"
target="_blank"
title="sunrise.mp4 (117.7 MiB)"
aria-disabled="false"
class="video-attachment-click-to-play"
role="button"
tabindex="0"
title="Click to play video"
>
<svg
aria-hidden="true"
class="attachment-icon fa-icon fa-icon-far-file"
class="fa-icon fa-icon-far-play-circle"
focusable="false"
role="img"
viewBox="0 0 384 512"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"
d="M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z"
fill="currentColor"
/>
</svg>
<span
class="attachment-title"
>
sunrise.mp4 (117.7 MiB)
</span>
</a>
<div>
<a
href="https://media/sunrise.mp4"
target="_blank"
title="sunrise.mp4 (117.7 MiB)"
>
<svg
aria-hidden="true"
class="attachment-icon fa-icon fa-icon-far-file-video"
focusable="false"
role="img"
viewBox="0 0 384 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm228.687-211.303L224 305.374V268c0-11.046-8.954-20-20-20H100c-11.046 0-20 8.954-20 20v104c0 11.046 8.954 20 20 20h104c11.046 0 20-8.954 20-20v-37.374l52.687 52.674C286.704 397.318 304 390.28 304 375.986V264.011c0-14.311-17.309-21.319-27.313-11.314z"
fill="currentColor"
/>
</svg>
<span>
sunrise.mp4 (117.7 MiB)
</span>
</a>
</div>
</div>
</div>
<div
class="general-attachments"
>
<div
aria-label="Attachment rfc.pdf (48.8 KiB)"
class="attachment"
Expand Down

0 comments on commit 1d982db

Please sign in to comment.