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