Add more test for ReactionsRowButton.tsx

This commit is contained in:
Florian Duros 2024-05-22 16:24:09 +02:00
parent 8f07672da1
commit d9f718e589
No known key found for this signature in database
GPG key ID: A5BBB4041B493F15
2 changed files with 35 additions and 0 deletions

View file

@ -97,3 +97,24 @@ exports[`ReactionsRowButton renders reaction row button emojis correctly 2`] = `
</div>
</DocumentFragment>
`;
exports[`ReactionsRowButton renders without a room 1`] = `
<DocumentFragment>
<div
class="mx_AccessibleButton mx_ReactionsRowButton"
role="button"
tabindex="0"
>
<span
aria-hidden="true"
class="mx_ReactionsRowButton_content"
/>
<span
aria-hidden="true"
class="mx_ReactionsRowButton_count"
>
2
</span>
</div>
</DocumentFragment>
`;