d8800ef987
* Upgrade target to es2021 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Upgrade target to es2021 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Upgrade to es2022 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Upgrade to es2022 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix babel config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix babel config Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix React contexts Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix types Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix React state Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update to React 18 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update to React 18 Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Install @testing-library/dom Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update lockfile Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Yarn lock update * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
93 lines
1.9 KiB
Text
93 lines
1.9 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ReadReceiptGroup <ReadReceiptPerson /> should display a tooltip 1`] = `
|
|
<div
|
|
class="_tooltip_1pslb_17"
|
|
data-floating-ui-focusable=""
|
|
id=":r6:"
|
|
role="tooltip"
|
|
style="position: absolute; left: 0px; top: 0px; transform: translate(0px, 0px);"
|
|
tabindex="-1"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class="_arrow_1pslb_42"
|
|
height="10"
|
|
style="position: absolute; pointer-events: none; top: 100%;"
|
|
viewBox="0 0 10 10"
|
|
width="10"
|
|
>
|
|
<path
|
|
d="M0,0 H10 L5,6 Q5,6 5,6 Z"
|
|
stroke="none"
|
|
/>
|
|
<clippath
|
|
id=":r9:"
|
|
>
|
|
<rect
|
|
height="10"
|
|
width="10"
|
|
x="0"
|
|
y="0"
|
|
/>
|
|
</clippath>
|
|
</svg>
|
|
<span
|
|
id=":r4:"
|
|
>
|
|
Alice
|
|
</span>
|
|
<span
|
|
class="_caption_1pslb_37 cpd-theme-dark"
|
|
id=":r5:"
|
|
>
|
|
@alice:example.org
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`ReadReceiptGroup <ReadReceiptPerson /> should render 1`] = `
|
|
<div>
|
|
<div>
|
|
<div
|
|
class="mx_AccessibleButton mx_ReadReceiptGroup_person"
|
|
role="menuitem"
|
|
tabindex="-1"
|
|
>
|
|
<span
|
|
aria-hidden="true"
|
|
aria-label="Profile picture"
|
|
aria-live="off"
|
|
class="_avatar_mcap2_17 mx_BaseAvatar"
|
|
data-color="3"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
style="--cpd-avatar-size: 24px;"
|
|
>
|
|
<img
|
|
alt=""
|
|
class="_image_mcap2_50"
|
|
data-type="round"
|
|
height="24px"
|
|
loading="lazy"
|
|
referrerpolicy="no-referrer"
|
|
src="http://this.is.a.url//placekitten.com/400/400"
|
|
width="24px"
|
|
/>
|
|
</span>
|
|
<div
|
|
class="mx_ReadReceiptGroup_name"
|
|
>
|
|
<p>
|
|
@alice:example.org
|
|
</p>
|
|
<p
|
|
class="mx_ReadReceiptGroup_secondary"
|
|
>
|
|
Wed, 15 May, 0:00
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|