From 5aad5681e546869830d19be98890acd14ea984ad Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Sun, 26 Apr 2020 16:37:33 +0800 Subject: [PATCH] test: update snap --- antdv-demo | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 12 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 20 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 40 ++- .../__tests__/__snapshots__/demo.test.js.snap | 10 +- .../__tests__/__snapshots__/demo.test.js.snap | 26 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 168 +++++++++--- .../__tests__/__snapshots__/demo.test.js.snap | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 10 +- .../__tests__/__snapshots__/demo.test.js.snap | 248 +++++++++++++----- .../__tests__/__snapshots__/demo.test.js.snap | 36 ++- .../__tests__/__snapshots__/demo.test.js.snap | 88 +++++-- .../__tests__/__snapshots__/demo.test.js.snap | 136 +++++++--- .../__tests__/__snapshots__/demo.test.js.snap | 6 +- .../__tests__/__snapshots__/demo.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 64 +++-- .../__tests__/__snapshots__/demo.test.js.snap | 40 ++- .../__tests__/__snapshots__/demo.test.js.snap | 116 +++++++- .../__tests__/__snapshots__/demo.test.js.snap | 56 +++- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 168 +++++++++--- .../__tests__/__snapshots__/demo.test.js.snap | 64 ++++- .../__tests__/__snapshots__/demo.test.js.snap | 54 +++- .../__tests__/__snapshots__/demo.test.js.snap | 16 +- .../__tests__/__snapshots__/demo.test.js.snap | 2 +- 31 files changed, 1111 insertions(+), 325 deletions(-) diff --git a/antdv-demo b/antdv-demo index 8dca2d2cf..a2a2d6662 160000 --- a/antdv-demo +++ b/antdv-demo @@ -1 +1 @@ -Subproject commit 8dca2d2cfcaaf970f494ebfb65ee55dfca69870c +Subproject commit a2a2d666224e5ee69b85ee5a0f35b1f845c96885 diff --git a/components/avatar/__tests__/__snapshots__/demo.test.js.snap b/components/avatar/__tests__/__snapshots__/demo.test.js.snap index 4986a14ff..221432c1a 100644 --- a/components/avatar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/avatar/__tests__/__snapshots__/demo.test.js.snap @@ -9,6 +9,14 @@ exports[`renders ./antdv-demo/docs/avatar/demo/basic.md correctly 1`] = ` `; -exports[`renders ./antdv-demo/docs/avatar/demo/dynamic.md correctly 1`] = `
app content
++ app content +
We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.
++ We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently. +
We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently.
++ We supply a series of design principles, practical patterns and high quality design resources (Sketch and Axure), to help people create their product prototypes beautifully and efficiently. +
~
+
~
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo. diff --git a/components/drawer/__tests__/__snapshots__/demo.test.js.snap b/components/drawer/__tests__/__snapshots__/demo.test.js.snap index 3181e75fc..a4008795e 100644 --- a/components/drawer/__tests__/__snapshots__/demo.test.js.snap +++ b/components/drawer/__tests__/__snapshots__/demo.test.js.snap @@ -23,7 +23,15 @@ exports[`renders ./antdv-demo/docs/drawer/demo/multi-level-drawer.md correctly 1 exports[`renders ./antdv-demo/docs/drawer/demo/placement.md correctly 1`] = `
sub-element align left
sub-element align center
sub-element align right
sub-element monospaced arrangement
sub-element align full
Align Top
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
Align Center
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
Align Bottom
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
col-4
++ col-4 +
Default Size
++ Default Size +
-- Racing car sprays burning fuel into crowd.
- - Japanese princess to wed commoner.
- - Australian walks 100km after outback crash.
- - Man charged over missing wedding girl.
- - Los Angeles battles huge wildfires.
+ -
+ Racing car sprays burning fuel into crowd.
+
+ -
+ Japanese princess to wed commoner.
+
+ -
+ Australian walks 100km after outback crash.
+
+ -
+ Man charged over missing wedding girl.
+
+ -
+ Los Angeles battles huge wildfires.
+
Small Size
++ Small Size +
-- Racing car sprays burning fuel into crowd.
- - Japanese princess to wed commoner.
- - Australian walks 100km after outback crash.
- - Man charged over missing wedding girl.
- - Los Angeles battles huge wildfires.
+ -
+ Racing car sprays burning fuel into crowd.
+
+ -
+ Japanese princess to wed commoner.
+
+ -
+ Australian walks 100km after outback crash.
+
+ -
+ Man charged over missing wedding girl.
+
+ -
+ Los Angeles battles huge wildfires.
+
Large Size
++ Large Size +
-- Racing car sprays burning fuel into crowd.
- - Japanese princess to wed commoner.
- - Australian walks 100km after outback crash.
- - Man charged over missing wedding girl.
- - Los Angeles battles huge wildfires.
+ -
+ Racing car sprays burning fuel into crowd.
+
+ -
+ Japanese princess to wed commoner.
+
+ -
+ Australian walks 100km after outback crash.
+
+ -
+ Man charged over missing wedding girl.
+
+ -
+ Los Angeles battles huge wildfires.
+
-- Option 1
- - Option 2
+ -
+ Option 1
+
+ -
+ Option 2
+
-- Option 3
- - Option 4
+ -
+ Option 3
+
+ -
+ Option 4
+
-- Option 5
- - Option 6
- - Option 7
- - Option 8
+ -
+ Option 5
+
+ -
+ Option 6
+
+ -
+ Option 7
+
+ -
+ Option 8
+
-- Option 1
- - Option 2
- - Option 3
- - Option 4
+ -
+ Option 1
+
+ -
+ Option 2
+
+ -
+ Option 3
+
+ -
+ Option 4
+
-- Option 3
- - Option 4
+ -
+ Option 3
+
+ -
+ Option 4
+
-
Submenu
@@ -194,8 +222,12 @@ exports[`renders ./antdv-demo/docs/menu/demo/theme.md correctly 1`] = `
-
Navigation Three
-- Option 3
- - Option 4
+ -
+ Option 3
+
+ -
+ Option 4
+
-
Submenu
diff --git a/components/page-header/__tests__/__snapshots__/demo.test.js.snap b/components/page-header/__tests__/__snapshots__/demo.test.js.snap
index cdc80aada..24d50f7f4 100644
--- a/components/page-header/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/page-header/__tests__/__snapshots__/demo.test.js.snap
@@ -108,7 +108,9 @@ exports[`renders ./antdv-demo/docs/page-header/demo/actions.md correctly 1`] = `
- Lili Qu
+
+ Lili Qu
+
- 2017-01-10
+
+ 2017-01-10
+
+
+
Presets:
-Custom:
-+ Presets: +
++ Custom: +
+