* Update jest to v30 * Update jest to v30 * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Apply jsdom patch Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Fix tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
38 lines
801 B
Plaintext
38 lines
801 B
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`<AccessibleButton /> renders a button element 1`] = `
|
|
<DocumentFragment>
|
|
<button
|
|
class="mx_AccessibleButton"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</button>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<AccessibleButton /> renders div with role button by default 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<AccessibleButton /> renders with correct classes when button has kind 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
i am a button
|
|
</div>
|
|
</DocumentFragment>
|
|
`;
|