2022-04-13 10:44:15 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-12-28 17:24:46 +01:00
|
|
|
exports[`<BeaconStatus /> active state renders with children 1`] = `
|
|
|
|
<span
|
|
|
|
data-testid="test-child"
|
|
|
|
>
|
|
|
|
test
|
|
|
|
</span>
|
|
|
|
`;
|
2022-04-13 10:44:15 +02:00
|
|
|
|
2022-04-14 14:41:28 +02:00
|
|
|
exports[`<BeaconStatus /> active state renders without children 1`] = `
|
2022-12-28 17:24:46 +01:00
|
|
|
<DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus mx_BeaconStatus_Active"
|
2022-04-13 10:44:15 +02:00
|
|
|
>
|
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_BeaconStatus_description"
|
2022-04-13 10:44:15 +02:00
|
|
|
>
|
2022-04-20 13:57:50 +02:00
|
|
|
<span
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus_label"
|
2022-04-20 13:57:50 +02:00
|
|
|
>
|
|
|
|
test label
|
|
|
|
</span>
|
2022-12-28 17:24:46 +01:00
|
|
|
<span
|
|
|
|
class="mx_BeaconStatus_expiryTime"
|
2022-04-13 10:44:15 +02:00
|
|
|
>
|
2022-12-28 17:24:46 +01:00
|
|
|
Live until 11:17
|
|
|
|
</span>
|
2022-04-13 10:44:15 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-28 17:24:46 +01:00
|
|
|
</DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<BeaconStatus /> renders loading state 1`] = `
|
2022-12-28 17:24:46 +01:00
|
|
|
<DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus mx_BeaconStatus_Loading"
|
2022-04-13 10:44:15 +02:00
|
|
|
>
|
2022-04-14 14:41:28 +02:00
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon mx_StyledLiveBeaconIcon_idle"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_BeaconStatus_description"
|
2022-04-14 14:41:28 +02:00
|
|
|
>
|
2022-06-05 07:40:17 +02:00
|
|
|
<span
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus_description_status"
|
2022-06-05 07:40:17 +02:00
|
|
|
>
|
2023-02-14 10:05:01 +01:00
|
|
|
Loading live location…
|
2022-04-14 14:41:28 +02:00
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-13 10:44:15 +02:00
|
|
|
</div>
|
2022-12-28 17:24:46 +01:00
|
|
|
</DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<BeaconStatus /> renders stopped state 1`] = `
|
2022-12-28 17:24:46 +01:00
|
|
|
<DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus mx_BeaconStatus_Stopped"
|
2022-04-13 10:44:15 +02:00
|
|
|
>
|
2022-04-14 14:41:28 +02:00
|
|
|
<div
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon mx_StyledLiveBeaconIcon_idle"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_BeaconStatus_description"
|
2022-04-14 14:41:28 +02:00
|
|
|
>
|
2022-06-05 07:40:17 +02:00
|
|
|
<span
|
2022-12-28 17:24:46 +01:00
|
|
|
class="mx_BeaconStatus_description_status"
|
2022-06-05 07:40:17 +02:00
|
|
|
>
|
2022-04-14 14:41:28 +02:00
|
|
|
Live location ended
|
|
|
|
</span>
|
|
|
|
</div>
|
2022-04-13 10:44:15 +02:00
|
|
|
</div>
|
2022-12-28 17:24:46 +01:00
|
|
|
</DocumentFragment>
|
2022-04-13 10:44:15 +02:00
|
|
|
`;
|