From 5acc7671a340e74188b2c5507de83c1b7e32adcc Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 26 May 2020 23:38:15 +0800 Subject: [PATCH] test: update snap --- antdv-demo | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 27 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 - .../__tests__/__snapshots__/demo.test.js.snap | 23 +- .../__tests__/__snapshots__/demo.test.js.snap | 7 +- .../__tests__/__snapshots__/demo.test.js.snap | 9 +- .../__tests__/__snapshots__/demo.test.js.snap | 51 +- .../__tests__/__snapshots__/demo.test.js.snap | 11 +- .../__tests__/__snapshots__/demo.test.js.snap | 56 +- .../__snapshots__/index.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 32 +- .../__snapshots__/index.test.js.snap | 1680 ++--------------- .../__tests__/__snapshots__/demo.test.js.snap | 63 +- .../__tests__/__snapshots__/demo.test.js.snap | 81 +- .../__tests__/__snapshots__/demo.test.js.snap | 3 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 2 +- 18 files changed, 250 insertions(+), 1823 deletions(-) diff --git a/antdv-demo b/antdv-demo index 745711870..814b848de 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 7457118702fced496e8b1d251b1ea2c50cd5071a +Subproject commit 814b848dea1d5877f17987d512a0d74fdc99cb1a diff --git a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap index 127d4bd27..332ecec08 100644 --- a/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap +++ b/components/auto-complete/__tests__/__snapshots__/demo.test.js.snap @@ -1,30 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders ./antdv-demo/docs/auto-complete/demo/basic.md correctly 1`] = ` -<<<<<<< HEAD -
-

- `; diff --git a/components/avatar/__tests__/__snapshots__/demo.test.js.snap b/components/avatar/__tests__/__snapshots__/demo.test.js.snap index f0f3d1961..db07c706d 100644 --- a/components/avatar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/avatar/__tests__/__snapshots__/demo.test.js.snap @@ -15,12 +15,4 @@ exports[`renders ./antdv-demo/docs/avatar/demo/dynamic.md correctly 1`] = `
`; -<<<<<<< HEAD exports[`renders ./antdv-demo/docs/avatar/demo/type.md correctly 1`] = `
U USER U
`; -======= -exports[`renders ./antdv-demo/docs/avatar/demo/type.md correctly 1`] = ` -
U USER - U -
-`; ->>>>>>> origin/master diff --git a/components/button/__tests__/__snapshots__/demo.test.js.snap b/components/button/__tests__/__snapshots__/demo.test.js.snap index ae6cd326b..6508d242e 100644 --- a/components/button/__tests__/__snapshots__/demo.test.js.snap +++ b/components/button/__tests__/__snapshots__/demo.test.js.snap @@ -32,32 +32,13 @@ exports[`renders ./antdv-demo/docs/button/demo/multiple.md correctly 1`] = `
-<<<<<<< HEAD -




-
-=======



Download
-
->>>>>>> origin/master +




+
`; diff --git a/components/collapse/__tests__/__snapshots__/demo.test.js.snap b/components/collapse/__tests__/__snapshots__/demo.test.js.snap index 4e6d1b138..f72a55c92 100644 --- a/components/collapse/__tests__/__snapshots__/demo.test.js.snap +++ b/components/collapse/__tests__/__snapshots__/demo.test.js.snap @@ -114,15 +114,10 @@ exports[`renders ./antdv-demo/docs/collapse/demo/extra.md correctly 1`] = `
-<<<<<<< HEAD -
left
-
-=======
left
-
->>>>>>> origin/master +
diff --git a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap index 102f10ea8..aae20b792 100644 --- a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap @@ -18,19 +18,14 @@ exports[`renders ./antdv-demo/docs/date-picker/demo/presetted-ranges.md correctl exports[`renders ./antdv-demo/docs/date-picker/demo/size.md correctly 1`] = `
-<<<<<<< HEAD -


-


~
-=======




~
- ->>>>>>> origin/master +

+


~
`; exports[`renders ./antdv-demo/docs/date-picker/demo/start-end.md correctly 1`] = `
`; diff --git a/components/empty/__tests__/__snapshots__/demo.test.js.snap b/components/empty/__tests__/__snapshots__/demo.test.js.snap index d731a61c5..58bd1b520 100644 --- a/components/empty/__tests__/__snapshots__/demo.test.js.snap +++ b/components/empty/__tests__/__snapshots__/demo.test.js.snap @@ -92,34 +92,33 @@ exports[`renders ./antdv-demo/docs/empty/demo/config-provider.md correctly 1`] =
Name -
-
-
Age -
- - - - - -
-
-
- - - - - - - -
-

No Data

+
+
Age +
+ + + + +
+
+
+
+ + + + + + + +
+

No Data

+
+
+ + + - - - - -

List

diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index 18cc6c00c..97fd53963 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -380,11 +380,7 @@ exports[`renders ./antdv-demo/docs/form/demo/register.vue correctly 1`] = `
-======= -
->>>>>>> origin/master
@@ -791,10 +787,9 @@ exports[`renders ./antdv-demo/docs/form/demo/validate-static.vue correctly 1`] =
-
-
- -
+
+ +
diff --git a/components/input/__tests__/__snapshots__/demo.test.js.snap b/components/input/__tests__/__snapshots__/demo.test.js.snap index 9e0d6d758..7f3228beb 100644 --- a/components/input/__tests__/__snapshots__/demo.test.js.snap +++ b/components/input/__tests__/__snapshots__/demo.test.js.snap @@ -3,17 +3,12 @@ exports[`renders ./antdv-demo/docs/input/demo/addon.md correctly 1`] = `
Http://.com
-<<<<<<< HEAD -
Http://
-
.com
-=======
Http:// -
+
.com -
->>>>>>> origin/master +
@@ -31,44 +26,30 @@ exports[`renders ./antdv-demo/docs/input/demo/autosize-textarea.md correctly 1`] exports[`renders ./antdv-demo/docs/input/demo/basic.md correctly 1`] = ``; exports[`renders ./antdv-demo/docs/input/demo/group.md correctly 1`] = ` -<<<<<<< HEAD -


Zhejiang
-

Option1
-


Option1-1
-=======


Zhejiang -
+

Option1 -
-


+
+


Option1-1 -
->>>>>>> origin/master +
-<<<<<<< HEAD -
Option2-2
-
-
-

Between
-

Sign Up
-=======
Option2-2
-
+

Between -
+

Sign Up -
->>>>>>> origin/master +
-<<<<<<< HEAD -

Home
-
-=======
Home -
-
->>>>>>> origin/master + + `; exports[`renders ./antdv-demo/docs/input/demo/password-input.md correctly 1`] = ``; -<<<<<<< HEAD exports[`renders ./antdv-demo/docs/input/demo/presuffix.md correctly 1`] = `


RMB
`; -======= -exports[`renders ./antdv-demo/docs/input/demo/presuffix.md correctly 1`] = `


RMB
`; ->>>>>>> origin/master -exports[`renders ./antdv-demo/docs/input/demo/search-input.md correctly 1`] = `






`; +exports[`renders ./antdv-demo/docs/input/demo/search-input.md correctly 1`] = `






`; -exports[`renders ./antdv-demo/docs/input/demo/search-input-loading.md correctly 1`] = `


`; +exports[`renders ./antdv-demo/docs/input/demo/search-input-loading.md correctly 1`] = `


`; exports[`renders ./antdv-demo/docs/input/demo/size.md correctly 1`] = `
`; diff --git a/components/input/__tests__/__snapshots__/index.test.js.snap b/components/input/__tests__/__snapshots__/index.test.js.snap index 0a81940c8..afffd245f 100644 --- a/components/input/__tests__/__snapshots__/index.test.js.snap +++ b/components/input/__tests__/__snapshots__/index.test.js.snap @@ -2,7 +2,7 @@ exports[`Input should support maxLength 1`] = ``; -exports[`Input.Search should support suffix 1`] = `suffix`; +exports[`Input.Search should support suffix 1`] = `suffix`; exports[`TextArea should support disabled 1`] = ``; diff --git a/components/layout/__tests__/__snapshots__/demo.test.js.snap b/components/layout/__tests__/__snapshots__/demo.test.js.snap index cadd16e9a..4505e3dab 100644 --- a/components/layout/__tests__/__snapshots__/demo.test.js.snap +++ b/components/layout/__tests__/__snapshots__/demo.test.js.snap @@ -284,18 +284,10 @@ exports[`renders ./antdv-demo/docs/layout/demo/top-side.md correctly 1`] = `