mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 03:49:28 +08:00
76b82b4b2b
* Make more code conform to strict null checks * Fix types * Fix tests * Fix remaining test assertions * Iterate PR
44 lines
750 B
Plaintext
44 lines
750 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<EmbeddedPage /> should render nothing if no url given 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="undefined_guest"
|
|
>
|
|
<div
|
|
class="undefined_body"
|
|
/>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<EmbeddedPage /> should show error if unable to load 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="undefined_guest"
|
|
>
|
|
<div
|
|
class="undefined_body"
|
|
>
|
|
Couldn't load page
|
|
</div>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<EmbeddedPage /> should translate _t strings 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="undefined_guest"
|
|
>
|
|
<div
|
|
class="undefined_body"
|
|
>
|
|
<h1>
|
|
Przeglądaj pokoje
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|