2021-12-09 13:04:06 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<ExternalLink /> renders link correctly 1`] = `
|
2023-02-22 11:52:55 +01:00
|
|
|
<DocumentFragment>
|
|
|
|
<a
|
|
|
|
class="mx_ExternalLink myCustomClass"
|
|
|
|
data-testid="test"
|
|
|
|
href="test.com"
|
|
|
|
rel="noopener"
|
|
|
|
target="_self"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
react element
|
|
|
|
<b>
|
|
|
|
children
|
|
|
|
</b>
|
|
|
|
</span>
|
|
|
|
<i
|
|
|
|
class="mx_ExternalLink_icon"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
</DocumentFragment>
|
2021-12-09 13:04:06 +01:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<ExternalLink /> renders plain text link correctly 1`] = `
|
2023-02-22 11:52:55 +01:00
|
|
|
<DocumentFragment>
|
|
|
|
<a
|
|
|
|
class="mx_ExternalLink myCustomClass"
|
|
|
|
data-testid="test"
|
|
|
|
href="test.com"
|
|
|
|
rel="noreferrer noopener"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
test
|
|
|
|
<i
|
|
|
|
class="mx_ExternalLink_icon"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
</DocumentFragment>
|
2021-12-09 13:04:06 +01:00
|
|
|
`;
|