Skip to content

Commit 2f9d17d

Browse files
committed
test: update snapshots
1 parent 837aa44 commit 2f9d17d

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

src/test/__snapshots__/useHeTree_flatData.test.tsx.snap

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
exports[`render tree 1`] = `
44
<div
5-
className="he-tree"
5+
className="he-tree "
66
onDragEnd={[Function]}
77
onDragOver={[Function]}
8-
onExternalDrop={[Function]}
8+
onDrop={[Function]}
99
>
1010
<div
1111
onScroll={[Function]}
1212
style={
1313
{
14+
"height": "100%",
1415
"overflow": "auto",
1516
}
1617
}
@@ -29,7 +30,6 @@ exports[`render tree 1`] = `
2930
data-node-box={true}
3031
draggable={true}
3132
onDragLeave={[Function]}
32-
onDragOver={[Function]}
3333
onDragStart={[Function]}
3434
style={
3535
{
@@ -47,7 +47,6 @@ exports[`render tree 1`] = `
4747
data-node-box={true}
4848
draggable={true}
4949
onDragLeave={[Function]}
50-
onDragOver={[Function]}
5150
onDragStart={[Function]}
5251
style={
5352
{
@@ -65,7 +64,6 @@ exports[`render tree 1`] = `
6564
data-node-box={true}
6665
draggable={true}
6766
onDragLeave={[Function]}
68-
onDragOver={[Function]}
6967
onDragStart={[Function]}
7068
style={
7169
{
@@ -83,7 +81,6 @@ exports[`render tree 1`] = `
8381
data-node-box={true}
8482
draggable={true}
8583
onDragLeave={[Function]}
86-
onDragOver={[Function]}
8784
onDragStart={[Function]}
8885
style={
8986
{
@@ -101,7 +98,6 @@ exports[`render tree 1`] = `
10198
data-node-box={true}
10299
draggable={true}
103100
onDragLeave={[Function]}
104-
onDragOver={[Function]}
105101
onDragStart={[Function]}
106102
style={
107103
{
@@ -119,7 +115,6 @@ exports[`render tree 1`] = `
119115
data-node-box={true}
120116
draggable={true}
121117
onDragLeave={[Function]}
122-
onDragOver={[Function]}
123118
onDragStart={[Function]}
124119
style={
125120
{
@@ -137,7 +132,6 @@ exports[`render tree 1`] = `
137132
data-node-box={true}
138133
draggable={true}
139134
onDragLeave={[Function]}
140-
onDragOver={[Function]}
141135
onDragStart={[Function]}
142136
style={
143137
{
@@ -155,7 +149,6 @@ exports[`render tree 1`] = `
155149
data-node-box={true}
156150
draggable={true}
157151
onDragLeave={[Function]}
158-
onDragOver={[Function]}
159152
onDragStart={[Function]}
160153
style={
161154
{
@@ -173,7 +166,6 @@ exports[`render tree 1`] = `
173166
data-node-box={true}
174167
draggable={true}
175168
onDragLeave={[Function]}
176-
onDragOver={[Function]}
177169
onDragStart={[Function]}
178170
style={
179171
{

src/test/__snapshots__/useHeTree_treeData.test.tsx.snap

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
exports[`render tree 1`] = `
44
<div
5-
className="he-tree"
5+
className="he-tree "
66
onDragEnd={[Function]}
77
onDragOver={[Function]}
8-
onExternalDrop={[Function]}
8+
onDrop={[Function]}
99
>
1010
<div
1111
onScroll={[Function]}
1212
style={
1313
{
14+
"height": "100%",
1415
"overflow": "auto",
1516
}
1617
}
@@ -29,7 +30,6 @@ exports[`render tree 1`] = `
2930
data-node-box={true}
3031
draggable={true}
3132
onDragLeave={[Function]}
32-
onDragOver={[Function]}
3333
onDragStart={[Function]}
3434
style={
3535
{
@@ -47,7 +47,6 @@ exports[`render tree 1`] = `
4747
data-node-box={true}
4848
draggable={true}
4949
onDragLeave={[Function]}
50-
onDragOver={[Function]}
5150
onDragStart={[Function]}
5251
style={
5352
{
@@ -65,7 +64,6 @@ exports[`render tree 1`] = `
6564
data-node-box={true}
6665
draggable={true}
6766
onDragLeave={[Function]}
68-
onDragOver={[Function]}
6967
onDragStart={[Function]}
7068
style={
7169
{
@@ -83,7 +81,6 @@ exports[`render tree 1`] = `
8381
data-node-box={true}
8482
draggable={true}
8583
onDragLeave={[Function]}
86-
onDragOver={[Function]}
8784
onDragStart={[Function]}
8885
style={
8986
{
@@ -101,7 +98,6 @@ exports[`render tree 1`] = `
10198
data-node-box={true}
10299
draggable={true}
103100
onDragLeave={[Function]}
104-
onDragOver={[Function]}
105101
onDragStart={[Function]}
106102
style={
107103
{
@@ -119,7 +115,6 @@ exports[`render tree 1`] = `
119115
data-node-box={true}
120116
draggable={true}
121117
onDragLeave={[Function]}
122-
onDragOver={[Function]}
123118
onDragStart={[Function]}
124119
style={
125120
{
@@ -137,7 +132,6 @@ exports[`render tree 1`] = `
137132
data-node-box={true}
138133
draggable={true}
139134
onDragLeave={[Function]}
140-
onDragOver={[Function]}
141135
onDragStart={[Function]}
142136
style={
143137
{
@@ -155,7 +149,6 @@ exports[`render tree 1`] = `
155149
data-node-box={true}
156150
draggable={true}
157151
onDragLeave={[Function]}
158-
onDragOver={[Function]}
159152
onDragStart={[Function]}
160153
style={
161154
{
@@ -173,7 +166,6 @@ exports[`render tree 1`] = `
173166
data-node-box={true}
174167
draggable={true}
175168
onDragLeave={[Function]}
176-
onDragOver={[Function]}
177169
onDragStart={[Function]}
178170
style={
179171
{

0 commit comments

Comments
 (0)