mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-13 11:46:34 +03:00
37 lines
599 B
Text
37 lines
599 B
Text
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`<ExternalLink /> renders link correctly 1`] = `
|
||
|
<a
|
||
|
class="mx_ExternalLink myCustomClass"
|
||
|
data-test-id="test"
|
||
|
href="test.com"
|
||
|
rel="noopener"
|
||
|
target="_self"
|
||
|
>
|
||
|
<span>
|
||
|
react element
|
||
|
<b>
|
||
|
children
|
||
|
</b>
|
||
|
</span>
|
||
|
<i
|
||
|
class="mx_ExternalLink_icon"
|
||
|
/>
|
||
|
</a>
|
||
|
`;
|
||
|
|
||
|
exports[`<ExternalLink /> renders plain text link correctly 1`] = `
|
||
|
<a
|
||
|
class="mx_ExternalLink myCustomClass"
|
||
|
data-test-id="test"
|
||
|
href="test.com"
|
||
|
rel="noreferrer noopener"
|
||
|
target="_blank"
|
||
|
>
|
||
|
test
|
||
|
<i
|
||
|
class="mx_ExternalLink_icon"
|
||
|
/>
|
||
|
</a>
|
||
|
`;
|