From 4f3e307f12cf80d77efa2882c4a1eb871f47ce19 Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Fri, 14 Aug 2020 09:31:36 +0800 Subject: [PATCH] test: update collapse snap --- .../__tests__/__snapshots__/demo.test.js.snap | 202 ++++++++++-------- .../__snapshots__/index.test.js.snap | 2 +- 2 files changed, 113 insertions(+), 91 deletions(-) diff --git a/components/collapse/__tests__/__snapshots__/demo.test.js.snap b/components/collapse/__tests__/__snapshots__/demo.test.js.snap index f72a55c92..6ce6a223d 100644 --- a/components/collapse/__tests__/__snapshots__/demo.test.js.snap +++ b/components/collapse/__tests__/__snapshots__/demo.test.js.snap @@ -1,162 +1,184 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders ./antdv-demo/docs/collapse/demo/accordion.md correctly 1`] = ` -
-
-
- +
+
+ -
- + +
+
+ -
- + +
+
+ +
`; exports[`renders ./antdv-demo/docs/collapse/demo/basic.md correctly 1`] = ` -
-
-
-
This is panel header 1
-
-
-

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
+
+
+
This is panel header 1 + +
+
+
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
-
This is panel header 2
+
+
+ -
-
This is panel header 3
+ +
+
+ +
`; exports[`renders ./antdv-demo/docs/collapse/demo/borderless.md correctly 1`] = ` -
-
-
-
This is panel header 1
-
-
-

A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.

-
+
+
+
This is panel header 1 + +
+
+
+

A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.

-
-
This is panel header 2
+
+
+ -
-
This is panel header 3
+ +
+
+ +
`; exports[`renders ./antdv-demo/docs/collapse/demo/custom.md correctly 1`] = ` -
-
-
-
This is panel header 1
-
-
-

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
+
+
+
This is panel header 1 + +
+
+
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
-
This is panel header 2
+
+
+ -
-
This is panel header 3
+ +
+
+ +
`; exports[`renders ./antdv-demo/docs/collapse/demo/extra.md correctly 1`] = ` -
-
-
-
This is panel header 1
-
-
-
-

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
+
+
+
This is panel header 1
+
+
+
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
-
This is panel header 2
-
+
+
+ + +
+
+ + +
+

Expand Icon Position: + +
+
Expand Icon Position: -
-
-
-
- left -
-
-
+
`; exports[`renders ./antdv-demo/docs/collapse/demo/mix.md correctly 1`] = ` -
-
-
-
This is panel header 1
+
+
+ -
-
This is panel header 2
+ +
+
+ -
-
This is panel header 3
+ +
+
+ +
`; exports[`renders ./antdv-demo/docs/collapse/demo/noarrow.md correctly 1`] = ` -
-
-
-
This is panel header with arrow icon
-
-
-

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

-
-
-
-
-
This is panel header with no arrow icon
+
+
+
This is panel header with arrow icon
+
+
+

A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.

+
+
+
+
+ +
`; diff --git a/components/collapse/__tests__/__snapshots__/index.test.js.snap b/components/collapse/__tests__/__snapshots__/index.test.js.snap index fdb1ccc5a..ec613ebf7 100644 --- a/components/collapse/__tests__/__snapshots__/index.test.js.snap +++ b/components/collapse/__tests__/__snapshots__/index.test.js.snap @@ -3,7 +3,7 @@ exports[`Collapse should support remove expandIcon 1`] = `
-