mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-05 09:21:17 +01:00
* 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>
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and 2 should render both contents 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
<div>
|
|
content 2
|
|
<br />
|
|
content 2.2
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and rendering PiP content 2 should update the PiP content 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 2
|
|
<br />
|
|
content 2.2
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 and rerendering PiP content 1 should not change the PiP content: pip-content-1 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|
|
|
|
exports[`PictureInPictureDragger when rendering the dragger with PiP content 1 should render the PiP content: pip-content-1 1`] = `
|
|
<div>
|
|
<aside
|
|
style="transform: translateX(680px) translateY(478px);"
|
|
>
|
|
<div>
|
|
content 1
|
|
</div>
|
|
</aside>
|
|
</div>
|
|
`;
|