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