* 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>
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`<SearchWarning /> with desktop builds available renders with a logo by default 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_SearchWarning"
|
|
>
|
|
<img
|
|
alt=""
|
|
src="https://logo"
|
|
width="32px"
|
|
/>
|
|
<span>
|
|
<span>
|
|
Use the
|
|
<a
|
|
href="https://url"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
Desktop app
|
|
</a>
|
|
to search encrypted messages
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<SearchWarning /> with desktop builds available renders without a logo when showLogo=false 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_SearchWarning"
|
|
>
|
|
<span>
|
|
<span>
|
|
Use the
|
|
<a
|
|
href="https://url"
|
|
rel="noreferrer noopener"
|
|
target="_blank"
|
|
>
|
|
Desktop app
|
|
</a>
|
|
to search encrypted messages
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|