From ae0acb73eaaabb5104c4ceaa219616fb90948506 Mon Sep 17 00:00:00 2001
From: tanjinzhou <415800467@qq.com>
Date: Thu, 13 Aug 2020 15:14:39 +0800
Subject: [PATCH] test: update snap
---
.../__tests__/__snapshots__/demo.test.js.snap | 327 ++++++++++++------
1 file changed, 216 insertions(+), 111 deletions(-)
diff --git a/components/tree/__tests__/__snapshots__/demo.test.js.snap b/components/tree/__tests__/__snapshots__/demo.test.js.snap
index 2c313f1cd..5c0300fbe 100644
--- a/components/tree/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/tree/__tests__/__snapshots__/demo.test.js.snap
@@ -1,18 +1,24 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./antdv-demo/docs/tree/demo/basic.md correctly 1`] = `
-
- - parent 1
-
- - parent 1-0
-
- - leaf
- - leaf
+
+ - parent 1
+
+ - parent 1-0
+
- - parent 1-1
-
@@ -21,117 +27,204 @@ exports[`renders ./antdv-demo/docs/tree/demo/basic.md correctly 1`] = `
`;
exports[`renders ./antdv-demo/docs/tree/demo/basic-controlled.md correctly 1`] = `
-
- - 0-0
-
- - 0-0-0
-
- - 0-0-0-0
- - 0-0-0-1
- - 0-0-0-2
+
+ - 0-0
+
+ - 0-0-0
+
+ - 0-0-0-0
+
+
+ - 0-0-0-1
+
+
+ - 0-0-0-2
+
+
- - 0-0-1
-
- - 0-0-1-0
- - 0-0-1-1
- - 0-0-1-2
+ - 0-0-1
+
+ - 0-0-1-0
+
+
+ - 0-0-1-1
+
+
+ - 0-0-1-2
+
+
- - 0-0-2
+ - 0-0-2
+
+
- - 0-1
+
- 0-1
+
+
+ - 0-2
- - 0-2
`;
exports[`renders ./antdv-demo/docs/tree/demo/customized-icon.md correctly 1`] = `
-
- - parent 1
-
- - leaf
- - leaf
+
+ -
+ parent 1
+
+ -
+ leaf
+
+
+ -
+ leaf
+
+
`;
exports[`renders ./antdv-demo/docs/tree/demo/directory.md correctly 1`] = `
-
- - parent 0
-
- - leaf 0-0
- - leaf 0-1
+
+ -
+ parent 0
+
+ -
+ leaf 0-0
+
+
+ -
+ leaf 0-1
+
+
- - parent 1
-
- - leaf 1-0
- - leaf 1-1
+ -
+ parent 1
+
+ -
+ leaf 1-0
+
+
+ -
+ leaf 1-1
+
+
`;
exports[`renders ./antdv-demo/docs/tree/demo/draggable.md correctly 1`] = `
-
- - 0-0
-
- - 0-0-0
-
- - 0-0-0-0
- - 0-0-0-1
- - 0-0-0-2
+
+ -
+ 0-0
+
+ -
+ 0-0-0
+
+ -
+ 0-0-0-0
+
+
+ -
+ 0-0-0-1
+
+
+ -
+ 0-0-0-2
+
+
- - 0-0-1
+
-
+ 0-0-1
+
+
+ -
+ 0-0-2
- - 0-0-2
- - 0-1
+
-
+ 0-1
+
+
+ -
+ 0-2
- - 0-2
`;
exports[`renders ./antdv-demo/docs/tree/demo/dynamic.md correctly 1`] = `
-
- - Expand to load
- - Expand to load
- - Tree Node
+
+ -
+ Expand to load
+
+
+ -
+ Expand to load
+
+
+ -
+ Tree Node
+
+
`;
exports[`renders ./antdv-demo/docs/tree/demo/line.md correctly 1`] = `
-
- showLine:
- showIcon:
-
- - parent 1
-
- - parent 1-0
-
- - leaf
- - leaf
- - leaf
+ showLine:
showIcon:
+
+ -
+ parent 1
+
+ -
+ parent 1-0
+
+ -
+ leaf
+
+
+ -
+ leaf
+
+
+ -
+ leaf
+
+
- - parent 1-1
-
- - leaf
+ -
+ parent 1-1
+
- - parent 1-2
-
- - leaf
- - leaf
+ -
+ parent 1-2
+
+ -
+ leaf
+
+
+ -
+ leaf
+
+
@@ -141,18 +234,24 @@ exports[`renders ./antdv-demo/docs/tree/demo/line.md correctly 1`] = `
`;
exports[`renders ./antdv-demo/docs/tree/demo/replaceFields.md correctly 1`] = `
-
- - parent 1
-
- - 张晨成
-
- - leaf
- - leaf
+
+ - parent 1
+
+ - 张晨成
+
- - parent 1-1
-
@@ -161,46 +260,52 @@ exports[`renders ./antdv-demo/docs/tree/demo/replaceFields.md correctly 1`] = `
`;
exports[`renders ./antdv-demo/docs/tree/demo/search.md correctly 1`] = `
-