2023-04-18 11:38:41 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`GenericToast should render as expected with detail content 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Description
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="secondary"
|
|
|
|
data-size="sm"
|
2023-04-18 11:38:41 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Reject
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="primary"
|
|
|
|
data-size="sm"
|
2023-04-18 11:38:41 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Accept
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
2023-04-18 11:38:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`GenericToast should render as expected without detail content 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_Toast_description"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Description
|
|
|
|
</div>
|
2023-04-28 14:56:26 +00:00
|
|
|
<div
|
|
|
|
class="mx_Toast_detail"
|
2023-04-18 11:38:41 +00:00
|
|
|
>
|
|
|
|
Detail
|
2023-04-28 14:56:26 +00:00
|
|
|
</div>
|
2023-04-18 11:38:41 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-live="off"
|
|
|
|
class="mx_Toast_buttons"
|
|
|
|
>
|
2024-07-30 12:57:15 +00:00
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="secondary"
|
|
|
|
data-size="sm"
|
2023-04-18 11:38:41 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Reject
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
|
|
|
<button
|
2024-10-14 16:11:58 +00:00
|
|
|
class="_button_i91xf_17"
|
2024-07-30 12:57:15 +00:00
|
|
|
data-kind="primary"
|
|
|
|
data-size="sm"
|
2023-04-18 11:38:41 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Accept
|
2024-07-30 12:57:15 +00:00
|
|
|
</button>
|
2023-04-18 11:38:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|