mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
Refactor raised hand indicator and add tests.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`RaisedHandIndicator > renders an indicator when a hand has been raised 1`] = `
|
||||
<div
|
||||
class="raisedHandWidget"
|
||||
>
|
||||
<div
|
||||
class="raisedHand"
|
||||
>
|
||||
<span
|
||||
aria-label="raised hand"
|
||||
role="img"
|
||||
>
|
||||
✋
|
||||
</span>
|
||||
</div>
|
||||
<p>
|
||||
00:01
|
||||
</p>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`RaisedHandIndicator > renders an indicator when a hand has been raised with the expected time 1`] = `
|
||||
<div
|
||||
class="raisedHandWidget"
|
||||
>
|
||||
<div
|
||||
class="raisedHand"
|
||||
>
|
||||
<span
|
||||
aria-label="raised hand"
|
||||
role="img"
|
||||
>
|
||||
✋
|
||||
</span>
|
||||
</div>
|
||||
<p>
|
||||
01:01
|
||||
</p>
|
||||
</div>
|
||||
`;
|
||||
Reference in New Issue
Block a user