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