Files
element-web/test/unit-tests/components/views/beacon/__snapshots__/BeaconStatus-test.tsx.snap
renovate[bot] b894f8d65f Update jest to v30 (major) (#30117)
* Update jest to v30

* Update jest to v30

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Apply jsdom patch

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-11-13 10:50:33 +00:00

78 lines
1.6 KiB
Plaintext

// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
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>
`;