riot-web/test/voice-broadcast/components/atoms/__snapshots__/VoiceBroadcastHeader-test.t...

86 lines
1.6 KiB
Plaintext
Raw Normal View History

2022-10-12 16:00:37 +02:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`VoiceBroadcastHeader when rendering a live broadcast header with broadcast info should render the header with a live badge 1`] = `
<div>
<div
class="mx_VoiceBroadcastHeader"
>
<div
data-testid="room-avatar"
2022-10-12 16:00:37 +02:00
>
room avatar:
!room:example.com
</div>
2022-10-12 16:00:37 +02:00
<div
class="mx_VoiceBroadcastHeader_content"
>
<div
class="mx_VoiceBroadcastHeader_room"
2022-10-12 16:00:37 +02:00
>
!room:example.com
2022-10-12 16:00:37 +02:00
</div>
<div
class="mx_VoiceBroadcastHeader_line"
2022-10-12 16:00:37 +02:00
>
<div
class="mx_Icon mx_Icon_16"
/>
<span>
test user
</span>
2022-10-12 16:00:37 +02:00
</div>
<div
class="mx_VoiceBroadcastHeader_line"
>
<div
class="mx_Icon mx_Icon_16"
2022-10-12 16:00:37 +02:00
/>
Voice broadcast
</div>
</div>
<div
class="mx_LiveBadge"
>
<div
class="mx_Icon mx_Icon_16"
2022-10-12 16:00:37 +02:00
/>
Live
</div>
</div>
</div>
`;
exports[`VoiceBroadcastHeader when rendering a non-live broadcast header should render the header without a live badge 1`] = `
<div>
<div
class="mx_VoiceBroadcastHeader"
>
<div
data-testid="room-avatar"
2022-10-12 16:00:37 +02:00
>
room avatar:
!room:example.com
</div>
2022-10-12 16:00:37 +02:00
<div
class="mx_VoiceBroadcastHeader_content"
>
<div
class="mx_VoiceBroadcastHeader_room"
2022-10-12 16:00:37 +02:00
>
!room:example.com
2022-10-12 16:00:37 +02:00
</div>
<div
class="mx_VoiceBroadcastHeader_line"
2022-10-12 16:00:37 +02:00
>
<div
class="mx_Icon mx_Icon_16"
/>
<span>
test user
</span>
2022-10-12 16:00:37 +02:00
</div>
</div>
</div>
</div>
`;