test: update snap

pull/4346/head
tangjinzhou 2021-07-07 21:51:03 +08:00
parent ffb52a2c40
commit 292f5c9d75
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Switch should has click wave effect 1`] = `
<button type="button" role="switch" aria-checked="true" class="ant-switch ant-switch-checked">
<button type="button" role="switch" aria-checked="true" class="ant-switch-checked ant-switch">
<!----><span class="ant-switch-inner"><!----></span>
</button>
`;

View File

@ -54,7 +54,7 @@ describe('Switch', () => {
<Switch
{...{ 'onUpdate:checked': onUpdate }}
checked={checked.value}
uncheckedValue={1}
unCheckedValue={1}
checkedValue={2}
/>
);

View File

@ -126,6 +126,7 @@ Array [
"TypographyText",
"TypographyTitle",
"Upload",
"UploadDragger",
"LocaleProvider",
]
`;