mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-06 09:51:09 +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>
73 lines
1.3 KiB
Plaintext
73 lines
1.3 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`FormattingUtils formatList should return expected sentence in ReactNode when given 2 React children 1`] = `
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
a
|
|
</span>
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
and
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
b
|
|
</span>
|
|
</React.Fragment>
|
|
</React.Fragment>
|
|
`;
|
|
|
|
exports[`FormattingUtils formatList should return expected sentence in ReactNode when given more React children 1`] = `
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
a
|
|
</span>
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
,
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
b
|
|
</span>
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
,
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
c
|
|
</span>
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
and
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
d
|
|
</span>
|
|
</React.Fragment>
|
|
</React.Fragment>
|
|
`;
|
|
|
|
exports[`FormattingUtils formatList should return expected sentence in ReactNode when using itemLimit 1`] = `
|
|
<span>
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
a
|
|
</span>
|
|
,
|
|
</React.Fragment>
|
|
<React.Fragment>
|
|
<span>
|
|
b
|
|
</span>
|
|
</React.Fragment>
|
|
</React.Fragment>
|
|
and 2 others
|
|
</span>
|
|
`;
|