2021-12-10 01:44:22 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with plain text description 1`] = `
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-test-id="test"
|
|
|
|
>
|
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_description"
|
|
|
|
>
|
|
|
|
Changes to who can read history.
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with react description 1`] = `
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-test-id="test"
|
|
|
|
>
|
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_description"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Test
|
|
|
|
</p>
|
|
|
|
<a
|
2022-01-07 17:40:53 +08:00
|
|
|
href="#test"
|
2021-12-10 01:44:22 +08:00
|
|
|
>
|
|
|
|
a link
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset without description 1`] = `
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-test-id="test"
|
|
|
|
>
|
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
`;
|