Skip to content

Commit e17cd4a

Browse files
authored
test: keep spaces (ant-design#47024)
* feat: snap * feat: up snap
1 parent ff00aed commit e17cd4a

File tree

27 files changed

+117
-116
lines changed

27 files changed

+117
-116
lines changed

components/back-top/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Array [
99
<strong
1010
class="site-back-top-basic"
1111
>
12-
gray
12+
gray
1313
</strong>,
1414
button.,
1515
]

components/back-top/__tests__/__snapshots__/demo.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Array [
99
<strong
1010
class="site-back-top-basic"
1111
>
12-
gray
12+
gray
1313
</strong>,
1414
button.,
1515
]

components/cascader/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ exports[`renders components/cascader/demo/custom-render.tsx extend context corre
498498
class="ant-select-selection-item"
499499
>
500500
<span>
501-
Zhejiang /
501+
Zhejiang /
502502
</span>
503503
<span>
504-
Hangzhou /
504+
Hangzhou /
505505
</span>
506506
<span>
507507
West Lake (
@@ -660,7 +660,7 @@ exports[`renders components/cascader/demo/custom-render.tsx extend context corre
660660

661661
exports[`renders components/cascader/demo/custom-trigger.tsx extend context correctly 1`] = `
662662
<span>
663-
Unselect
663+
Unselect 
664664
<a>
665665
Change city
666666
</a>

components/cascader/__tests__/__snapshots__/demo.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ exports[`renders components/cascader/demo/custom-render.tsx correctly 1`] = `
214214
<span>
215215
Zhejiang
216216
<!-- -->
217-
/
217+
/
218218
</span>
219219
<span>
220220
Hangzhou
221221
<!-- -->
222-
/
222+
/
223223
</span>
224224
<span>
225225
West Lake

components/collapse/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ Array [
10831083
</div>,
10841084
<br />,
10851085
<span>
1086-
Expand Icon Position:
1086+
Expand Icon Position:
10871087
</span>,
10881088
<div
10891089
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"

components/collapse/__tests__/__snapshots__/demo.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ Array [
10711071
</div>,
10721072
<br />,
10731073
<span>
1074-
Expand Icon Position:
1074+
Expand Icon Position:
10751075
</span>,
10761076
<div
10771077
class="ant-select ant-select-outlined ant-select-single ant-select-show-arrow"

components/color-picker/__tests__/__snapshots__/demo.test.ts.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
130130
class="ant-space-item"
131131
>
132132
<span>
133-
HEX:
133+
HEX:
134134
<!-- -->
135135
#1677ff
136136
</span>
@@ -163,7 +163,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
163163
class="ant-space-item"
164164
>
165165
<span>
166-
HSB:
166+
HSB:
167167
<!-- -->
168168
hsb(215, 91%, 100%)
169169
</span>
@@ -196,7 +196,7 @@ exports[`renders components/color-picker/demo/format.tsx correctly 1`] = `
196196
class="ant-space-item"
197197
>
198198
<span>
199-
RGB:
199+
RGB:
200200
<!-- -->
201201
rgb(22, 119, 255)
202202
</span>

components/empty/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ exports[`renders components/empty/demo/customize.tsx extend context correctly 1`
10911091
class="ant-empty-description"
10921092
>
10931093
<span>
1094-
Customize
1094+
Customize
10951095
<a
10961096
href="#API"
10971097
>

components/empty/__tests__/__snapshots__/demo.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ exports[`renders components/empty/demo/customize.tsx correctly 1`] = `
739739
class="ant-empty-description"
740740
>
741741
<span>
742-
Customize
742+
Customize
743743
<a
744744
href="#API"
745745
>

components/form/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2451,7 +2451,7 @@ exports[`renders components/form/demo/dependencies.tsx extend context correctly
24512451
class="ant-typography"
24522452
>
24532453
<p>
2454-
Only Update when
2454+
Only Update when
24552455
<code>
24562456
password2
24572457
</code>
@@ -2587,7 +2587,7 @@ Array [
25872587
/>
25882588
</span>
25892589
<span>
2590-
Apple
2590+
Apple
25912591
</span>
25922592
</label>
25932593
<label
@@ -2607,7 +2607,7 @@ Array [
26072607
/>
26082608
</span>
26092609
<span>
2610-
Pear
2610+
Pear
26112611
</span>
26122612
</label>
26132613
</div>
@@ -7216,7 +7216,7 @@ exports[`renders components/form/demo/form-context.tsx extend context correctly
72167216
<span
72177217
class="ant-typography ant-typography-secondary ant-form-text"
72187218
>
7219-
(
7219+
(
72207220
<span
72217221
aria-label="smile"
72227222
class="anticon anticon-smile"
@@ -8581,7 +8581,7 @@ exports[`renders components/form/demo/normal-login.tsx extend context correctly
85818581
Log in
85828582
</span>
85838583
</button>
8584-
Or
8584+
Or
85858585
<a
85868586
href=""
85878587
>
@@ -10016,7 +10016,7 @@ exports[`renders components/form/demo/register.tsx extend context correctly 1`]
1001610016
/>
1001710017
</span>
1001810018
<span>
10019-
I have read the
10019+
I have read the
1002010020
<a
1002110021
href=""
1002210022
>
@@ -20018,10 +20018,10 @@ Array [
2001820018
class="ant-typography"
2001920019
>
2002020020
<pre>
20021-
Name Value:
20021+
Name Value:
2002220022
</pre>
2002320023
<pre>
20024-
Custom Value: name:
20024+
Custom Value: name:
2002520025
</pre>
2002620026
</article>,
2002720027
]

0 commit comments

Comments
 (0)