Skip to content

Commit e5ba3fb

Browse files
chore (test): update snapshot tests for node v22
1 parent c636c1e commit e5ba3fb

File tree

3 files changed

+295
-841
lines changed

3 files changed

+295
-841
lines changed

packages/web/src/components/list/__snapshots__/MultiDropdownList.test.js.snap

-56
Original file line numberDiff line numberDiff line change
@@ -129,22 +129,8 @@ exports[`should not render search/ count when showSearch/ showCount are false 1`
129129
-moz-user-select: none;
130130
-ms-user-select: none;
131131
user-select: none;
132-
}
133-
134-
.emotion-9 li>.trim {
135-
display: -webkit-box;
136-
display: -webkit-box;
137-
display: -webkit-flex;
138-
display: -ms-flexbox;
139-
display: flex;
140132
width: 100%;
141-
max-height: 2.3rem;
142-
line-height: 1.2rem;
143-
-webkit-line-clamp: 2;
144-
-webkit-box-orient: vertical;
145133
overflow: hidden;
146-
text-overflow: ellipsis;
147-
white-space: nowrap;
148134
}
149135
150136
.emotion-9 li:hover,
@@ -364,22 +350,8 @@ exports[`should render list of items 1`] = `
364350
-moz-user-select: none;
365351
-ms-user-select: none;
366352
user-select: none;
367-
}
368-
369-
.emotion-9 li>.trim {
370-
display: -webkit-box;
371-
display: -webkit-box;
372-
display: -webkit-flex;
373-
display: -ms-flexbox;
374-
display: flex;
375353
width: 100%;
376-
max-height: 2.3rem;
377-
line-height: 1.2rem;
378-
-webkit-line-clamp: 2;
379-
-webkit-box-orient: vertical;
380354
overflow: hidden;
381-
text-overflow: ellipsis;
382-
white-space: nowrap;
383355
}
384356
385357
.emotion-9 li:hover,
@@ -638,22 +610,8 @@ exports[`should render search/count when showSearch/showCount are true 1`] = `
638610
-moz-user-select: none;
639611
-ms-user-select: none;
640612
user-select: none;
641-
}
642-
643-
.emotion-9 li>.trim {
644-
display: -webkit-box;
645-
display: -webkit-box;
646-
display: -webkit-flex;
647-
display: -ms-flexbox;
648-
display: flex;
649613
width: 100%;
650-
max-height: 2.3rem;
651-
line-height: 1.2rem;
652-
-webkit-line-clamp: 2;
653-
-webkit-box-orient: vertical;
654614
overflow: hidden;
655-
text-overflow: ellipsis;
656-
white-space: nowrap;
657615
}
658616
659617
.emotion-9 li:hover,
@@ -1118,22 +1076,8 @@ exports[`should use renderItem to render the list item 1`] = `
11181076
-moz-user-select: none;
11191077
-ms-user-select: none;
11201078
user-select: none;
1121-
}
1122-
1123-
.emotion-9 li>.trim {
1124-
display: -webkit-box;
1125-
display: -webkit-box;
1126-
display: -webkit-flex;
1127-
display: -ms-flexbox;
1128-
display: flex;
11291079
width: 100%;
1130-
max-height: 2.3rem;
1131-
line-height: 1.2rem;
1132-
-webkit-line-clamp: 2;
1133-
-webkit-box-orient: vertical;
11341080
overflow: hidden;
1135-
text-overflow: ellipsis;
1136-
white-space: nowrap;
11371081
}
11381082
11391083
.emotion-9 li:hover,

packages/web/src/components/list/__snapshots__/SingleDropdownList.test.js.snap

-56
Original file line numberDiff line numberDiff line change
@@ -129,22 +129,8 @@ exports[`should not render search/ count when showSearch/ showCount are false 1`
129129
-moz-user-select: none;
130130
-ms-user-select: none;
131131
user-select: none;
132-
}
133-
134-
.emotion-9 li>.trim {
135-
display: -webkit-box;
136-
display: -webkit-box;
137-
display: -webkit-flex;
138-
display: -ms-flexbox;
139-
display: flex;
140132
width: 100%;
141-
max-height: 2.3rem;
142-
line-height: 1.2rem;
143-
-webkit-line-clamp: 2;
144-
-webkit-box-orient: vertical;
145133
overflow: hidden;
146-
text-overflow: ellipsis;
147-
white-space: nowrap;
148134
}
149135
150136
.emotion-9 li:hover,
@@ -364,22 +350,8 @@ exports[`should render list of items 1`] = `
364350
-moz-user-select: none;
365351
-ms-user-select: none;
366352
user-select: none;
367-
}
368-
369-
.emotion-9 li>.trim {
370-
display: -webkit-box;
371-
display: -webkit-box;
372-
display: -webkit-flex;
373-
display: -ms-flexbox;
374-
display: flex;
375353
width: 100%;
376-
max-height: 2.3rem;
377-
line-height: 1.2rem;
378-
-webkit-line-clamp: 2;
379-
-webkit-box-orient: vertical;
380354
overflow: hidden;
381-
text-overflow: ellipsis;
382-
white-space: nowrap;
383355
}
384356
385357
.emotion-9 li:hover,
@@ -638,22 +610,8 @@ exports[`should render search/count when showSearch/showCount are true 1`] = `
638610
-moz-user-select: none;
639611
-ms-user-select: none;
640612
user-select: none;
641-
}
642-
643-
.emotion-9 li>.trim {
644-
display: -webkit-box;
645-
display: -webkit-box;
646-
display: -webkit-flex;
647-
display: -ms-flexbox;
648-
display: flex;
649613
width: 100%;
650-
max-height: 2.3rem;
651-
line-height: 1.2rem;
652-
-webkit-line-clamp: 2;
653-
-webkit-box-orient: vertical;
654614
overflow: hidden;
655-
text-overflow: ellipsis;
656-
white-space: nowrap;
657615
}
658616
659617
.emotion-9 li:hover,
@@ -1118,22 +1076,8 @@ exports[`should use renderItem to render the list item 1`] = `
11181076
-moz-user-select: none;
11191077
-ms-user-select: none;
11201078
user-select: none;
1121-
}
1122-
1123-
.emotion-9 li>.trim {
1124-
display: -webkit-box;
1125-
display: -webkit-box;
1126-
display: -webkit-flex;
1127-
display: -ms-flexbox;
1128-
display: flex;
11291079
width: 100%;
1130-
max-height: 2.3rem;
1131-
line-height: 1.2rem;
1132-
-webkit-line-clamp: 2;
1133-
-webkit-box-orient: vertical;
11341080
overflow: hidden;
1135-
text-overflow: ellipsis;
1136-
white-space: nowrap;
11371081
}
11381082
11391083
.emotion-9 li:hover,

0 commit comments

Comments
 (0)