Skip to content

Commit abcc545

Browse files
committed
test: update snap
1 parent 1272457 commit abcc545

File tree

9 files changed

+1431
-2
lines changed

9 files changed

+1431
-2
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ exports[`renders ./components/empty/demo/config-provider.vue correctly 1`] = `
123123
<tr>
124124
<th class="ant-table-cell" colstart="0" colend="0">
125125
<!---->Name
126+
<!---->
126127
</th>
127128
<th class="ant-table-cell" colstart="1" colend="1">
128129
<!---->Age
130+
<!---->
129131
</th>
130132
</tr>
131133
</thead>
@@ -147,6 +149,7 @@ exports[`renders ./components/empty/demo/config-provider.vue correctly 1`] = `
147149
<p class="ant-empty-description">No Data</p>
148150
<!---->
149151
</div>
152+
<!---->
150153
</td>
151154
</tr>
152155
</tbody>

components/locale-provider/__tests__/__snapshots__/index.test.js.snap

+153
Large diffs are not rendered by default.

components/table/__tests__/__snapshots__/Table.pagination.test.js.snap

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ exports[`Table.pagination renders pagination correctly 1`] = `
1515
<tr>
1616
<th class="ant-table-cell" colstart="0" colend="0">
1717
<!---->Name
18+
<!---->
1819
</th>
1920
</tr>
2021
</thead>
@@ -23,12 +24,14 @@ exports[`Table.pagination renders pagination correctly 1`] = `
2324
<tr data-row-key="0" class="ant-table-row ant-table-row-level-0">
2425
<td class="ant-table-cell">
2526
<!---->Jack
27+
<!---->
2628
</td>
2729
</tr>
2830
<!---->
2931
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
3032
<td class="ant-table-cell">
3133
<!---->Lucy
34+
<!---->
3235
</td>
3336
</tr>
3437
<!---->

components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap

+10
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
2222
</label>
2323
<!---->
2424
</div>
25+
<!---->
2526
</th>
2627
<th class="ant-table-cell" colstart="1" colend="1">
2728
<!---->Name
29+
<!---->
2830
</th>
2931
</tr>
3032
</thead>
@@ -35,9 +37,11 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
3537
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
3638
<!---->
3739
</label>
40+
<!---->
3841
</td>
3942
<td class="ant-table-cell">
4043
<!---->Jack
44+
<!---->
4145
</td>
4246
</tr>
4347
<!---->
@@ -46,9 +50,11 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
4650
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
4751
<!---->
4852
</label>
53+
<!---->
4954
</td>
5055
<td class="ant-table-cell">
5156
<!---->Lucy
57+
<!---->
5258
</td>
5359
</tr>
5460
<!---->
@@ -57,9 +63,11 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
5763
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
5864
<!---->
5965
</label>
66+
<!---->
6067
</td>
6168
<td class="ant-table-cell">
6269
<!---->Tom
70+
<!---->
6371
</td>
6472
</tr>
6573
<!---->
@@ -68,9 +76,11 @@ exports[`Table.rowSelection fix selection column on the left 1`] = `
6876
<!----><label class="ant-checkbox-wrapper"><span class="ant-checkbox"><input type="checkbox" class="ant-checkbox-input"><span class="ant-checkbox-inner"></span></span>
6977
<!---->
7078
</label>
79+
<!---->
7180
</td>
7281
<td class="ant-table-cell">
7382
<!---->Jerry
83+
<!---->
7484
</td>
7585
</tr>
7686
<!---->

components/table/__tests__/__snapshots__/Table.sorter.test.js.snap

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`Table.sorter renders sorter icon correctly 1`] = `
77
<!---->
88
<!---->
99
<div class="ant-table-column-sorters"><span class="ant-table-column-title">Name</span><span class="ant-table-column-sorter ant-table-column-sorter-full"><span class="ant-table-column-sorter-inner"><span role="img" aria-label="caret-up" class="anticon anticon-caret-up ant-table-column-sorter-up"><svg focusable="false" class="" data-icon="caret-up" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"></path></svg></span><span role="img" aria-label="caret-down" class="anticon anticon-caret-down ant-table-column-sorter-down"><svg focusable="false" class="" data-icon="caret-down" width="1em" height="1em" fill="currentColor" aria-hidden="true" viewBox="0 0 1024 1024"><path d="M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"></path></svg></span></span></span></div>
10+
<!---->
1011
</th>
1112
</tr>
1213
</thead>

components/table/__tests__/__snapshots__/Table.test.js.snap

+16
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ exports[`Table align column should not override cell style 1`] = `
1515
<tr>
1616
<th class="ant-table-cell" colstart="0" colend="0">
1717
<!---->Name
18+
<!---->
1819
</th>
1920
<th class="ant-table-cell" style="text-align: center;" colstart="1" colend="1">
2021
<!---->Age
22+
<!---->
2123
</th>
2224
</tr>
2325
</thead>
@@ -27,19 +29,23 @@ exports[`Table align column should not override cell style 1`] = `
2729
<td class="ant-table-cell">
2830
<!---->
2931
<!---->
32+
<!---->
3033
</td>
3134
<td style="color: red; text-align: center;" class="ant-table-cell">
3235
<!---->32
36+
<!---->
3337
</td>
3438
</tr>
3539
<!---->
3640
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
3741
<td class="ant-table-cell">
3842
<!---->
3943
<!---->
44+
<!---->
4045
</td>
4146
<td style="color: red; text-align: center;" class="ant-table-cell">
4247
<!---->42
48+
<!---->
4349
</td>
4450
</tr>
4551
<!---->
@@ -77,17 +83,21 @@ exports[`Table renders JSX correctly 1`] = `
7783
<tr>
7884
<th colspan="2" class="ant-table-cell" colstart="0" hassubcolumns="true" colend="1">
7985
<!---->Name
86+
<!---->
8087
</th>
8188
<th rowspan="2" class="ant-table-cell" colstart="2" colend="2">
8289
<!---->Age
90+
<!---->
8391
</th>
8492
</tr>
8593
<tr>
8694
<th class="ant-table-cell" colstart="0" colend="0">
8795
<!---->First Name
96+
<!---->
8897
</th>
8998
<th class="ant-table-cell" colstart="1" colend="1">
9099
<!---->Last Name
100+
<!---->
91101
</th>
92102
</tr>
93103
</thead>
@@ -96,24 +106,30 @@ exports[`Table renders JSX correctly 1`] = `
96106
<tr data-row-key="1" class="ant-table-row ant-table-row-level-0">
97107
<td class="ant-table-cell">
98108
<!---->John
109+
<!---->
99110
</td>
100111
<td class="ant-table-cell">
101112
<!---->Brown
113+
<!---->
102114
</td>
103115
<td class="ant-table-cell">
104116
<!---->32
117+
<!---->
105118
</td>
106119
</tr>
107120
<!---->
108121
<tr data-row-key="2" class="ant-table-row ant-table-row-level-0">
109122
<td class="ant-table-cell">
110123
<!---->Jim
124+
<!---->
111125
</td>
112126
<td class="ant-table-cell">
113127
<!---->Green
128+
<!---->
114129
</td>
115130
<td class="ant-table-cell">
116131
<!---->42
132+
<!---->
117133
</td>
118134
</tr>
119135
<!---->

0 commit comments

Comments
 (0)