2022-11-03 19:41:16 +01:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2023-03-10 18:47:01 +01:00
|
|
|
exports[`ButtonBase should render anchor element correctly by href and externalLink, href target and rel exist 1`] = `
|
|
|
|
<div>
|
|
|
|
<a
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-text--body-md-medium box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-text-default box--background-color-background-alternative box--rounded-pill"
|
2023-03-10 18:47:01 +01:00
|
|
|
data-testid="button-base"
|
|
|
|
href="https://www.test.com/"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button Base
|
2023-03-10 18:47:01 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2022-11-03 19:41:16 +01:00
|
|
|
exports[`ButtonBase should render button element correctly and match snapshot 1`] = `
|
|
|
|
<div>
|
|
|
|
<button
|
2023-07-12 16:37:33 +02:00
|
|
|
class="box mm-text mm-button-base mm-button-base--size-md mm-text--body-md-medium box--padding-right-4 box--padding-left-4 box--display-inline-flex box--flex-direction-row box--justify-content-center box--align-items-center box--color-text-default box--background-color-background-alternative box--rounded-pill"
|
2022-11-03 19:41:16 +01:00
|
|
|
data-testid="button-base"
|
|
|
|
>
|
2023-03-22 03:19:49 +01:00
|
|
|
Button base
|
2022-11-03 19:41:16 +01:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|