element-web-Github/test/unit-tests/components/views/elements/__snapshots__/ExternalLink-test.tsx.snap
Michael Telatynski b084ff2313
Prepare for repo merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00

41 lines
733 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<ExternalLink /> renders link correctly 1`] = `
<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>
`;
exports[`<ExternalLink /> renders plain text link correctly 1`] = `
<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>
`;