element-web/test/unit-tests/components/views/beacon/__snapshots__/BeaconStatus-test.tsx.snap
Michael Telatynski b084ff2313
Prepare for repo merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00

77 lines
1.6 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<BeaconStatus /> active state renders with children 1`] = `
<span
data-testid="test-child"
>
test
</span>
`;
exports[`<BeaconStatus /> active state renders without children 1`] = `
<DocumentFragment>
<div
class="mx_BeaconStatus mx_BeaconStatus_Active"
>
<div
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon"
/>
<div
class="mx_BeaconStatus_description"
>
<span
class="mx_BeaconStatus_label"
>
test label
</span>
<span
class="mx_BeaconStatus_expiryTime"
>
Live until 11:17
</span>
</div>
</div>
</DocumentFragment>
`;
exports[`<BeaconStatus /> renders loading state 1`] = `
<DocumentFragment>
<div
class="mx_BeaconStatus mx_BeaconStatus_Loading"
>
<div
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon mx_StyledLiveBeaconIcon_idle"
/>
<div
class="mx_BeaconStatus_description"
>
<span
class="mx_BeaconStatus_description_status"
>
Loading live location…
</span>
</div>
</div>
</DocumentFragment>
`;
exports[`<BeaconStatus /> renders stopped state 1`] = `
<DocumentFragment>
<div
class="mx_BeaconStatus mx_BeaconStatus_Stopped"
>
<div
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon mx_StyledLiveBeaconIcon_idle"
/>
<div
class="mx_BeaconStatus_description"
>
<span
class="mx_BeaconStatus_description_status"
>
Live location ended
</span>
</div>
</div>
</DocumentFragment>
`;