From 47f1bb050b24430dc51d1054b053bf83fb525c22 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 24 Dec 2021 16:57:29 +0800 Subject: [PATCH] test: update snap --- .../__tests__/__snapshots__/demo.test.js.snap | 3 +- .../__tests__/__snapshots__/demo.test.js.snap | 9 +- .../__tests__/__snapshots__/demo.test.js.snap | 27 +++- .../__tests__/__snapshots__/demo.test.js.snap | 6 +- .../__tests__/__snapshots__/demo.test.js.snap | 35 ++++- .../__tests__/__snapshots__/demo.test.js.snap | 134 +++++++++++++----- .../__tests__/__snapshots__/demo.test.js.snap | 10 +- .../__tests__/__snapshots__/demo.test.js.snap | 38 ++--- .../__snapshots__/index.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 16 ++- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__snapshots__/QuarterPicker.test.js.snap | 1 - .../__snapshots__/RangePicker.test.js.snap | 1 - .../__snapshots__/WeekPicker.test.js.snap | 1 - .../__tests__/__snapshots__/demo.test.js.snap | 1 - .../__snapshots__/other.test.js.snap | 4 - .../__tests__/__snapshots__/demo.test.js.snap | 16 +-- .../__tests__/__snapshots__/demo.test.js.snap | 17 +-- .../__tests__/__snapshots__/demo.test.js.snap | 1 - .../__tests__/__snapshots__/demo.test.js.snap | 5 - .../__tests__/__snapshots__/demo.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 6 +- .../__tests__/__snapshots__/demo.test.js.snap | 7 +- .../__tests__/__snapshots__/demo.test.js.snap | 6 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__snapshots__/index.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 3 +- .../__tests__/__snapshots__/demo.test.js.snap | 27 +++- .../__tests__/__snapshots__/demo.test.js.snap | 9 -- .../__snapshots__/index.test.js.snap | 1 - .../__tests__/__snapshots__/demo.test.js.snap | 2 +- .../__snapshots__/search.test.js.snap | 10 +- .../__tests__/__snapshots__/demo.test.js.snap | 3 +- 33 files changed, 268 insertions(+), 145 deletions(-) diff --git a/components/affix/__tests__/__snapshots__/demo.test.js.snap b/components/affix/__tests__/__snapshots__/demo.test.js.snap index d61dbbecf..d8a066231 100644 --- a/components/affix/__tests__/__snapshots__/demo.test.js.snap +++ b/components/affix/__tests__/__snapshots__/demo.test.js.snap @@ -5,7 +5,8 @@ exports[`renders ./components/affix/demo/basic.vue correctly 1`] = `
-
+ +
-
+ +
Very long warning text warning text text text text text text text
@@ -17,7 +18,8 @@ exports[`renders ./components/alert/demo/banner.vue correctly 1`] = `
-
+ +
@@ -27,7 +29,8 @@ exports[`renders ./components/alert/demo/banner.vue correctly 1`] = `
-
+ +
Error text
diff --git a/components/avatar/__tests__/__snapshots__/demo.test.js.snap b/components/avatar/__tests__/__snapshots__/demo.test.js.snap index e40517857..8f9897dbe 100644 --- a/components/avatar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/avatar/__tests__/__snapshots__/demo.test.js.snap @@ -2,14 +2,26 @@ exports[`renders ./components/avatar/demo/badge.vue correctly 1`] = `

1

-
+ + `; -exports[`renders ./components/avatar/demo/basic.vue correctly 1`] = `
`; +exports[`renders ./components/avatar/demo/basic.vue correctly 1`] = ` + + + + +
+ + + + +`; exports[`renders ./components/avatar/demo/dynamic.vue correctly 1`] = ` -U `; @@ -34,4 +46,11 @@ exports[`renders ./components/avatar/demo/group.vue correctly 1`] = ` exports[`renders ./components/avatar/demo/responsive.vue correctly 1`] = ``; -exports[`renders ./components/avatar/demo/type.vue correctly 1`] = `UUSERU`; +exports[`renders ./components/avatar/demo/type.vue correctly 1`] = ` + +U +USER + +U + +`; diff --git a/components/back-top/__tests__/__snapshots__/demo.test.js.snap b/components/back-top/__tests__/__snapshots__/demo.test.js.snap index d0d5d736e..6ff1b2d49 100644 --- a/components/back-top/__tests__/__snapshots__/demo.test.js.snap +++ b/components/back-top/__tests__/__snapshots__/demo.test.js.snap @@ -1,6 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./components/back-top/demo/basic.vue correctly 1`] = ` Scroll down to see the bottom-right gray button.`; +exports[`renders ./components/back-top/demo/basic.vue correctly 1`] = ` +" Scroll down to see the bottom-right +gray + button." +`; exports[`renders ./components/back-top/demo/custom.vue correctly 1`] = `
diff --git a/components/badge/__tests__/__snapshots__/demo.test.js.snap b/components/badge/__tests__/__snapshots__/demo.test.js.snap index 20a75da6c..077f3847e 100644 --- a/components/badge/__tests__/__snapshots__/demo.test.js.snap +++ b/components/badge/__tests__/__snapshots__/demo.test.js.snap @@ -2,8 +2,10 @@ exports[`renders ./components/badge/demo/basic.vue correctly 1`] = `

5

-

0

-
+ +

0

+
+ `; @@ -57,13 +59,18 @@ exports[`renders ./components/badge/demo/link.vue correctly 1`] = ` exports[`renders ./components/badge/demo/no-wrapper.vue correctly 1`] = `

2

5

-

4

-
99+ + +

4

+
+99+ `; exports[`renders ./components/badge/demo/overflow.vue correctly 1`] = `

9

9

-
99+10+999+ + +99+ +10+ +999+ `; exports[`renders ./components/badge/demo/ribbon.vue correctly 1`] = ` @@ -80,7 +87,23 @@ exports[`renders ./components/badge/demo/ribbon.vue correctly 1`] = `
`; -exports[`renders ./components/badge/demo/status.vue correctly 1`] = `
Success
Error
Default
Processing
warning`; +exports[`renders ./components/badge/demo/status.vue correctly 1`] = ` + + + + + +
+Success +
+Error +
+Default +
+Processing +
+warning +`; exports[`renders ./components/badge/demo/title.vue correctly 1`] = `

5

diff --git a/components/button/__tests__/__snapshots__/demo.test.js.snap b/components/button/__tests__/__snapshots__/demo.test.js.snap index e1b7cfc84..229d5b7b4 100644 --- a/components/button/__tests__/__snapshots__/demo.test.js.snap +++ b/components/button/__tests__/__snapshots__/demo.test.js.snap @@ -3,13 +3,17 @@ exports[`renders ./components/button/demo/basic.vue correctly 1`] = ` + + + + `; @@ -17,13 +21,17 @@ exports[`renders ./components/button/demo/basic.vue correctly 1`] = ` exports[`renders ./components/button/demo/block.vue correctly 1`] = ` + + + + `; @@ -79,37 +87,60 @@ exports[`renders ./components/button/demo/danger.vue correctly 1`] = ` exports[`renders ./components/button/demo/disabled.vue correctly 1`] = ` +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ + + + + + + + + `; exports[`renders ./components/button/demo/loading.vue correctly 1`] = ` -
+ +
+
+ + +
+ + + `; exports[`renders ./components/button/demo/multiple.vue correctly 1`] = ` + - `; exports[`renders ./components/button/demo/size.vue correctly 1`] = ` -


+ + + +

+ +
+ + + + + +
`; diff --git a/components/card/__tests__/__snapshots__/demo.test.js.snap b/components/card/__tests__/__snapshots__/demo.test.js.snap index 4cc8d52c0..dfd57737c 100644 --- a/components/card/__tests__/__snapshots__/demo.test.js.snap +++ b/components/card/__tests__/__snapshots__/demo.test.js.snap @@ -16,7 +16,8 @@ exports[`renders ./components/card/demo/basic.vue correctly 1`] = `

card content

-

+
+
@@ -248,7 +249,8 @@ exports[`renders ./components/card/demo/loading.vue correctly 1`] = `
-
+ `; @@ -333,7 +335,9 @@ exports[`renders ./components/card/demo/tabs.vue correctly 1`] = `
content1
-

+ +
+
diff --git a/components/cascader/__tests__/__snapshots__/demo.test.js.snap b/components/cascader/__tests__/__snapshots__/demo.test.js.snap index 0f529887a..4b5c340a7 100644 --- a/components/cascader/__tests__/__snapshots__/demo.test.js.snap +++ b/components/cascader/__tests__/__snapshots__/demo.test.js.snap @@ -1,56 +1,62 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders ./components/cascader/demo/basic.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/change-on-select.vue correctly 1`] = ` - + `; -exports[`renders ./components/cascader/demo/custom-render.vue correctly 1`] = `Zhejiang /Hangzhou /West Lake ( 752100 ) `; +exports[`renders ./components/cascader/demo/custom-render.vue correctly 1`] = `Zhejiang /Hangzhou /West Lake ( 752100 ) `; exports[`renders ./components/cascader/demo/custom-trigger.vue correctly 1`] = `Unselect   Change city`; exports[`renders ./components/cascader/demo/disabled-option.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/fields-name.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/hover.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/lazy.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/search.vue correctly 1`] = ` - + `; exports[`renders ./components/cascader/demo/size.vue correctly 1`] = ` - -

- -

- -

+ + +
+
+ + +
+
+ + +
+
`; exports[`renders ./components/cascader/demo/suffix.vue correctly 1`] = ` - + - + ab `; diff --git a/components/cascader/__tests__/__snapshots__/index.test.js.snap b/components/cascader/__tests__/__snapshots__/index.test.js.snap index d107c0137..577a0d563 100644 --- a/components/cascader/__tests__/__snapshots__/index.test.js.snap +++ b/components/cascader/__tests__/__snapshots__/index.test.js.snap @@ -113,4 +113,4 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
`; -exports[`Cascader support controlled mode 1`] = `Zhejiang / Hangzhou / West Lake`; +exports[`Cascader support controlled mode 1`] = `Zhejiang / Hangzhou / West Lake`; diff --git a/components/checkbox/__tests__/__snapshots__/demo.test.js.snap b/components/checkbox/__tests__/__snapshots__/demo.test.js.snap index 7e6cd7192..5ed2331a4 100644 --- a/components/checkbox/__tests__/__snapshots__/demo.test.js.snap +++ b/components/checkbox/__tests__/__snapshots__/demo.test.js.snap @@ -3,7 +3,8 @@ exports[`renders ./components/checkbox/demo/basic.vue correctly 1`] = ``; exports[`renders ./components/checkbox/demo/check-all.vue correctly 1`] = ` -

+
+
`; @@ -19,15 +20,20 @@ exports[`renders ./components/checkbox/demo/controller.vue correctly 1`] = ` exports[`renders ./components/checkbox/demo/disabled.vue correctly 1`] = `
+
+ `; exports[`renders ./components/checkbox/demo/group.vue correctly 1`] = ` -

-

-

+
+
+
+
+
+
`; diff --git a/components/collapse/__tests__/__snapshots__/demo.test.js.snap b/components/collapse/__tests__/__snapshots__/demo.test.js.snap index b5626e05d..2c6f7df1d 100644 --- a/components/collapse/__tests__/__snapshots__/demo.test.js.snap +++ b/components/collapse/__tests__/__snapshots__/demo.test.js.snap @@ -125,7 +125,9 @@ exports[`renders ./components/collapse/demo/extra.vue correctly 1`] = `
-
Expand Icon Position: + +
+Expand Icon Position:
diff --git a/components/date-picker/__tests__/__snapshots__/QuarterPicker.test.js.snap b/components/date-picker/__tests__/__snapshots__/QuarterPicker.test.js.snap index de7d19d61..d4d0206ee 100644 --- a/components/date-picker/__tests__/__snapshots__/QuarterPicker.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/QuarterPicker.test.js.snap @@ -1,7 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`QuarterPicker reset select item when popup close 1`] = ` -
diff --git a/components/date-picker/__tests__/__snapshots__/RangePicker.test.js.snap b/components/date-picker/__tests__/__snapshots__/RangePicker.test.js.snap index 6a850ab3c..edf1ae76c 100644 --- a/components/date-picker/__tests__/__snapshots__/RangePicker.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/RangePicker.test.js.snap @@ -1,7 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`RangePicker customize separator 1`] = ` -
test
diff --git a/components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap b/components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap index 0f77cc217..4a4319a9d 100644 --- a/components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/WeekPicker.test.js.snap @@ -1,7 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`WeekPicker should support style prop 1`] = ` -
diff --git a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap index 5dba90085..2094f9bc4 100644 --- a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap @@ -466,7 +466,6 @@ exports[`renders ./components/date-picker/demo/range-picker.vue correctly 1`] = `; exports[`renders ./components/date-picker/demo/select-in-range.vue correctly 1`] = ` -
diff --git a/components/date-picker/__tests__/__snapshots__/other.test.js.snap b/components/date-picker/__tests__/__snapshots__/other.test.js.snap index 28fdef502..71d2c55ed 100644 --- a/components/date-picker/__tests__/__snapshots__/other.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/other.test.js.snap @@ -256,28 +256,24 @@ exports[`MonthPicker and WeekPicker render WeekPicker 1`] = ` `; exports[`Picker format by locale date 1`] = ` -
`; exports[`Picker format by locale dateTime 1`] = ` -
`; exports[`Picker format by locale month 1`] = ` -
`; exports[`Picker format by locale week 1`] = ` -
diff --git a/components/drawer/__tests__/__snapshots__/demo.test.js.snap b/components/drawer/__tests__/__snapshots__/demo.test.js.snap index 5c0146173..e7d7ef55d 100644 --- a/components/drawer/__tests__/__snapshots__/demo.test.js.snap +++ b/components/drawer/__tests__/__snapshots__/demo.test.js.snap @@ -4,35 +4,32 @@ exports[`renders ./components/drawer/demo/basic.vue correctly 1`] = ` - `; exports[`renders ./components/drawer/demo/extra.vue correctly 1`] = ` -
- `; exports[`renders ./components/drawer/demo/form-in-drawer.vue correctly 1`] = ` - `; exports[`renders ./components/drawer/demo/multi-level-drawer.vue correctly 1`] = ` - `; exports[`renders ./components/drawer/demo/placement.vue correctly 1`] = ` -
- `; exports[`renders ./components/drawer/demo/render-in-current.vue correctly 1`] = ` @@ -68,10 +65,10 @@ exports[`renders ./components/drawer/demo/render-in-current.vue correctly 1`] = exports[`renders ./components/drawer/demo/size.vue correctly 1`] = ` + - `; exports[`renders ./components/drawer/demo/user-profile.vue correctly 1`] = ` @@ -118,5 +115,4 @@ exports[`renders ./components/drawer/demo/user-profile.vue correctly 1`] = `
- `; diff --git a/components/dropdown/__tests__/__snapshots__/demo.test.js.snap b/components/dropdown/__tests__/__snapshots__/demo.test.js.snap index e46d9c9e1..f74f49ca4 100644 --- a/components/dropdown/__tests__/__snapshots__/demo.test.js.snap +++ b/components/dropdown/__tests__/__snapshots__/demo.test.js.snap @@ -1,11 +1,8 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./components/dropdown/demo/basic.vue correctly 1`] = ` Hover me `; +exports[`renders ./components/dropdown/demo/basic.vue correctly 1`] = ` Hover me `; -exports[`renders ./components/dropdown/demo/context-menu.vue correctly 1`] = ` - -
Right Click on here
-`; +exports[`renders ./components/dropdown/demo/context-menu.vue correctly 1`] = `
Right Click on here
`; exports[`renders ./components/dropdown/demo/dropdown-button.vue correctly 1`] = `
@@ -30,11 +27,11 @@ exports[`renders ./components/dropdown/demo/dropdown-button.vue correctly 1`] =
`; -exports[`renders ./components/dropdown/demo/event.vue correctly 1`] = ` Hover me, Click menu item `; +exports[`renders ./components/dropdown/demo/event.vue correctly 1`] = ` Hover me, Click menu item `; -exports[`renders ./components/dropdown/demo/item.vue correctly 1`] = ` Hover me `; +exports[`renders ./components/dropdown/demo/item.vue correctly 1`] = ` Hover me `; -exports[`renders ./components/dropdown/demo/overlay-visible.vue correctly 1`] = ` Hover me `; +exports[`renders ./components/dropdown/demo/overlay-visible.vue correctly 1`] = ` Hover me `; exports[`renders ./components/dropdown/demo/placement.vue correctly 1`] = `
@@ -64,6 +61,6 @@ exports[`renders ./components/dropdown/demo/placement.vue correctly 1`] = `
`; -exports[`renders ./components/dropdown/demo/sub-menu.vue correctly 1`] = ` Cascading menu `; +exports[`renders ./components/dropdown/demo/sub-menu.vue correctly 1`] = ` Cascading menu `; -exports[`renders ./components/dropdown/demo/trigger.vue correctly 1`] = ` Click me `; +exports[`renders ./components/dropdown/demo/trigger.vue correctly 1`] = ` Click me `; diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index 12dfa3b09..ba8a1b53d 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -540,7 +540,6 @@ exports[`renders ./components/form/demo/form-context.vue correctly 1`] = `
- `; exports[`renders ./components/form/demo/form-in-modal.vue correctly 1`] = ` diff --git a/components/image/__tests__/__snapshots__/demo.test.js.snap b/components/image/__tests__/__snapshots__/demo.test.js.snap index d739822f9..825c78a83 100644 --- a/components/image/__tests__/__snapshots__/demo.test.js.snap +++ b/components/image/__tests__/__snapshots__/demo.test.js.snap @@ -5,7 +5,6 @@ exports[`renders ./components/image/demo/basic.vue correctly 1`] = `
- `; exports[`renders ./components/image/demo/fallback.vue correctly 1`] = ` @@ -13,7 +12,6 @@ exports[`renders ./components/image/demo/fallback.vue correctly 1`] = `
- `; exports[`renders ./components/image/demo/placeholder.vue correctly 1`] = ` @@ -44,11 +42,8 @@ exports[`renders ./components/image/demo/previewGroup.vue correctly 1`] = `
-
- - `; diff --git a/components/input/__tests__/__snapshots__/demo.test.js.snap b/components/input/__tests__/__snapshots__/demo.test.js.snap index 9df98509e..8ca8ab03f 100644 --- a/components/input/__tests__/__snapshots__/demo.test.js.snap +++ b/components/input/__tests__/__snapshots__/demo.test.js.snap @@ -96,4 +96,4 @@ exports[`renders ./components/input/demo/size.vue correctly 1`] = `
`; -exports[`renders ./components/input/demo/tooltip.vue correctly 1`] = ``; +exports[`renders ./components/input/demo/tooltip.vue correctly 1`] = ``; diff --git a/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap b/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap index ef00ec92e..7265b51b6 100644 --- a/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap +++ b/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`renders ./components/popconfirm/demo/basic.vue correctly 1`] = `Delete`; +exports[`renders ./components/popconfirm/demo/basic.vue correctly 1`] = `Delete`; exports[`renders ./components/popconfirm/demo/dynamic-trigger.vue correctly 1`] = `
@@ -10,9 +10,9 @@ exports[`renders ./components/popconfirm/demo/dynamic-trigger.vue correctly 1`]
`; -exports[`renders ./components/popconfirm/demo/icon.vue correctly 1`] = `Delete`; +exports[`renders ./components/popconfirm/demo/icon.vue correctly 1`] = `Delete`; -exports[`renders ./components/popconfirm/demo/local.vue correctly 1`] = `Delete`; +exports[`renders ./components/popconfirm/demo/local.vue correctly 1`] = `Delete`; exports[`renders ./components/popconfirm/demo/placement.vue correctly 1`] = `
diff --git a/components/popover/__tests__/__snapshots__/demo.test.js.snap b/components/popover/__tests__/__snapshots__/demo.test.js.snap index c920deaf3..70fa435d0 100644 --- a/components/popover/__tests__/__snapshots__/demo.test.js.snap +++ b/components/popover/__tests__/__snapshots__/demo.test.js.snap @@ -12,20 +12,19 @@ exports[`renders ./components/popover/demo/arrow-point-at-center.vue correctly 1 `; exports[`renders ./components/popover/demo/basic.vue correctly 1`] = ` - `; exports[`renders ./components/popover/demo/control.vue correctly 1`] = ` - `; exports[`renders ./components/popover/demo/hover-with-click.vue correctly 1`] = ` - - `; diff --git a/components/progress/__tests__/__snapshots__/demo.test.js.snap b/components/progress/__tests__/__snapshots__/demo.test.js.snap index 8a412d030..7414d0493 100644 --- a/components/progress/__tests__/__snapshots__/demo.test.js.snap +++ b/components/progress/__tests__/__snapshots__/demo.test.js.snap @@ -422,7 +422,8 @@ exports[`renders ./components/progress/demo/steps.vue correctly 1`] = `
50%
-

+
+
@@ -431,7 +432,8 @@ exports[`renders ./components/progress/demo/steps.vue correctly 1`] = `
30%
-

+ +
diff --git a/components/select/__tests__/__snapshots__/demo.test.js.snap b/components/select/__tests__/__snapshots__/demo.test.js.snap index 8e284e86e..83dceecb4 100644 --- a/components/select/__tests__/__snapshots__/demo.test.js.snap +++ b/components/select/__tests__/__snapshots__/demo.test.js.snap @@ -422,7 +422,9 @@ exports[`renders ./components/select/demo/select-users.vue correctly 1`] = ` `; exports[`renders ./components/select/demo/size.vue correctly 1`] = ` -


+
+
+
diff --git a/components/space/__tests__/__snapshots__/index.test.js.snap b/components/space/__tests__/__snapshots__/index.test.js.snap index a4534d909..f077cfbb1 100644 --- a/components/space/__tests__/__snapshots__/index.test.js.snap +++ b/components/space/__tests__/__snapshots__/index.test.js.snap @@ -11,4 +11,4 @@ exports[`Space should render correct with children 1`] = `
`; -exports[`Space should render width empty children 1`] = ``; +exports[`Space should render width empty children 1`] = `""`; diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index b124a271c..2fd191d93 100644 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -6016,7 +6016,8 @@ exports[`renders ./components/table/demo/summary.vue correctly 1`] = `
-

+ +
diff --git a/components/tag/__tests__/__snapshots__/demo.test.js.snap b/components/tag/__tests__/__snapshots__/demo.test.js.snap index 0a0cfc428..0bd06ee5d 100644 --- a/components/tag/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tag/__tests__/__snapshots__/demo.test.js.snap @@ -12,24 +12,37 @@ exports[`renders ./components/tag/demo/colorful.vue correctly 1`] = ` `; exports[`renders ./components/tag/demo/control.vue correctly 1`] = ` -UnremovableTag 2 -Tag 3Tag 3Tag 3Tag 3... New Tag +Unremovable +Tag 2 +Tag 3Tag 3Tag 3Tag 3... + New Tag `; exports[`renders ./components/tag/demo/controlled.vue correctly 1`] = ` -Movies
`; -exports[`renders ./components/tag/demo/hot-tags.vue correctly 1`] = `Categories:MoviesBooksMusicSports`; +exports[`renders ./components/tag/demo/hot-tags.vue correctly 1`] = ` +Categories: +Movies +Books +Music +Sports +`; exports[`renders ./components/tag/demo/icon.vue correctly 1`] = ` Twitter - Youtube - Facebook - LinkedIn + + Youtube + + Facebook + + LinkedIn `; diff --git a/components/time-picker/__tests__/__snapshots__/demo.test.js.snap b/components/time-picker/__tests__/__snapshots__/demo.test.js.snap index 44b3acbea..6c1972e4d 100644 --- a/components/time-picker/__tests__/__snapshots__/demo.test.js.snap +++ b/components/time-picker/__tests__/__snapshots__/demo.test.js.snap @@ -41,24 +41,20 @@ exports[`renders ./components/time-picker/demo/addon.vue correctly 1`] = ` `; exports[`renders ./components/time-picker/demo/basic.vue correctly 1`] = ` -
-
`; exports[`renders ./components/time-picker/demo/bordered.vue correctly 1`] = ` -
-
@@ -69,7 +65,6 @@ exports[`renders ./components/time-picker/demo/bordered.vue correctly 1`] = ` `; exports[`renders ./components/time-picker/demo/disabled.vue correctly 1`] = ` -
@@ -78,14 +73,12 @@ exports[`renders ./components/time-picker/demo/disabled.vue correctly 1`] = ` `; exports[`renders ./components/time-picker/demo/hide-column.vue correctly 1`] = ` -
`; exports[`renders ./components/time-picker/demo/interval-options.vue correctly 1`] = ` -
@@ -94,7 +87,6 @@ exports[`renders ./components/time-picker/demo/interval-options.vue correctly 1` `; exports[`renders ./components/time-picker/demo/range-picker.vue correctly 1`] = ` -
@@ -122,7 +114,6 @@ exports[`renders ./components/time-picker/demo/size.vue correctly 1`] = ` `; exports[`renders ./components/time-picker/demo/suffix.vue correctly 1`] = ` -
diff --git a/components/time-picker/__tests__/__snapshots__/index.test.js.snap b/components/time-picker/__tests__/__snapshots__/index.test.js.snap index 94da402ff..531f0e151 100644 --- a/components/time-picker/__tests__/__snapshots__/index.test.js.snap +++ b/components/time-picker/__tests__/__snapshots__/index.test.js.snap @@ -1,7 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`TimePicker not render clean icon when allowClear is false 1`] = ` -
diff --git a/components/tooltip/__tests__/__snapshots__/demo.test.js.snap b/components/tooltip/__tests__/__snapshots__/demo.test.js.snap index 150a4716a..9c1fc6664 100644 --- a/components/tooltip/__tests__/__snapshots__/demo.test.js.snap +++ b/components/tooltip/__tests__/__snapshots__/demo.test.js.snap @@ -28,7 +28,7 @@ exports[`renders ./components/tooltip/demo/auto-adjust-overflow.vue correctly 1`
`; -exports[`renders ./components/tooltip/demo/basic.vue correctly 1`] = ` Tooltip will show when mouse enter. `; +exports[`renders ./components/tooltip/demo/basic.vue correctly 1`] = ` Tooltip will show when mouse enter. `; exports[`renders ./components/tooltip/demo/color.vue correctly 1`] = `
diff --git a/components/transfer/__tests__/__snapshots__/search.test.js.snap b/components/transfer/__tests__/__snapshots__/search.test.js.snap index 91c03f673..a7ca07d09 100644 --- a/components/transfer/__tests__/__snapshots__/search.test.js.snap +++ b/components/transfer/__tests__/__snapshots__/search.test.js.snap @@ -1,5 +1,11 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Search should show cross icon when input value exists 1`] = ``; +exports[`Search should show cross icon when input value exists 1`] = ` + + +`; -exports[`Search should show cross icon when input value exists 2`] = ``; +exports[`Search should show cross icon when input value exists 2`] = ` + + +`; diff --git a/components/typography/__tests__/__snapshots__/demo.test.js.snap b/components/typography/__tests__/__snapshots__/demo.test.js.snap index f109cf4fa..24ea164bb 100644 --- a/components/typography/__tests__/__snapshots__/demo.test.js.snap +++ b/components/typography/__tests__/__snapshots__/demo.test.js.snap @@ -85,7 +85,8 @@ exports[`renders ./components/typography/demo/ellipsis.vue correctly 1`] = ` Design, a design language for background applications, is refined by Ant UED Team. Ant Design, a design language for background applications, is refined by Ant UED Team." aria-hidden="true">... more -
+
+ `;