Skip to content

Commit 292f5c9

Browse files
committed
test: update snap
1 parent ffb52a2 commit 292f5c9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`Switch should has click wave effect 1`] = `
4-
<button type="button" role="switch" aria-checked="true" class="ant-switch ant-switch-checked">
4+
<button type="button" role="switch" aria-checked="true" class="ant-switch-checked ant-switch">
55
<!----><span class="ant-switch-inner"><!----></span>
66
</button>
77
`;

components/switch/__tests__/index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('Switch', () => {
5454
<Switch
5555
{...{ 'onUpdate:checked': onUpdate }}
5656
checked={checked.value}
57-
uncheckedValue={1}
57+
unCheckedValue={1}
5858
checkedValue={2}
5959
/>
6060
);

tests/__snapshots__/index.test.js.snap

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ Array [
126126
"TypographyText",
127127
"TypographyTitle",
128128
"Upload",
129+
"UploadDragger",
129130
"LocaleProvider",
130131
]
131132
`;

0 commit comments

Comments
 (0)