test: update snap
parent
ffb52a2c40
commit
292f5c9d75
|
@ -1,7 +1,7 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`Switch should has click wave effect 1`] = `
|
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>
|
<!----><span class="ant-switch-inner"><!----></span>
|
||||||
</button>
|
</button>
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -54,7 +54,7 @@ describe('Switch', () => {
|
||||||
<Switch
|
<Switch
|
||||||
{...{ 'onUpdate:checked': onUpdate }}
|
{...{ 'onUpdate:checked': onUpdate }}
|
||||||
checked={checked.value}
|
checked={checked.value}
|
||||||
uncheckedValue={1}
|
unCheckedValue={1}
|
||||||
checkedValue={2}
|
checkedValue={2}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
|
@ -126,6 +126,7 @@ Array [
|
||||||
"TypographyText",
|
"TypographyText",
|
||||||
"TypographyTitle",
|
"TypographyTitle",
|
||||||
"Upload",
|
"Upload",
|
||||||
|
"UploadDragger",
|
||||||
"LocaleProvider",
|
"LocaleProvider",
|
||||||
]
|
]
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue