Skip to content

Commit 38ef2a6

Browse files
author
zhang lay
committed
test: update test case snap
1 parent b0b4352 commit 38ef2a6

File tree

4 files changed

+8
-146
lines changed

4 files changed

+8
-146
lines changed

components/config-provider/__tests__/__snapshots__/components.test.js.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21049,6 +21049,7 @@ exports[`ConfigProvider components Select configProvider 1`] = `
2104921049
>
2105021050
<div
2105121051
class="config-select-item config-select-item-group"
21052+
title="grp"
2105221053
>
2105321054
grp
2105421055
</div>
@@ -21176,6 +21177,7 @@ exports[`ConfigProvider components Select configProvider componentSize large 1`]
2117621177
>
2117721178
<div
2117821179
class="config-select-item config-select-item-group"
21180+
title="grp"
2117921181
>
2118021182
grp
2118121183
</div>
@@ -21303,6 +21305,7 @@ exports[`ConfigProvider components Select configProvider componentSize middle 1`
2130321305
>
2130421306
<div
2130521307
class="config-select-item config-select-item-group"
21308+
title="grp"
2130621309
>
2130721310
grp
2130821311
</div>
@@ -21430,6 +21433,7 @@ exports[`ConfigProvider components Select configProvider virtual and dropdownMat
2143021433
>
2143121434
<div
2143221435
class="ant-select-item ant-select-item-group"
21436+
title="grp"
2143321437
>
2143421438
grp
2143521439
</div>
@@ -21557,6 +21561,7 @@ exports[`ConfigProvider components Select normal 1`] = `
2155721561
>
2155821562
<div
2155921563
class="ant-select-item ant-select-item-group"
21564+
title="grp"
2156021565
>
2156121566
grp
2156221567
</div>
@@ -21684,6 +21689,7 @@ exports[`ConfigProvider components Select prefixCls 1`] = `
2168421689
>
2168521690
<div
2168621691
class="prefix-Select-item prefix-Select-item-group"
21692+
title="grp"
2168721693
>
2168821694
grp
2168921695
</div>

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

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -9788,79 +9788,6 @@ exports[`renders ./components/input/demo/textarea-show-count.md extend context c
97889788
</div>
97899789
`;
97909790

9791-
exports[`renders ./components/input/demo/tip.md extend context correctly 1`] = `
9792-
Array [
9793-
<span
9794-
class="ant-input-affix-wrapper"
9795-
>
9796-
<span
9797-
class="ant-input-prefix"
9798-
>
9799-
<span
9800-
aria-label="user"
9801-
class="anticon anticon-user"
9802-
role="img"
9803-
>
9804-
<svg
9805-
aria-hidden="true"
9806-
data-icon="user"
9807-
fill="currentColor"
9808-
focusable="false"
9809-
height="1em"
9810-
viewBox="0 0 16 16"
9811-
width="1em"
9812-
>
9813-
<path
9814-
d="M8 1a4 4 0 012.13 7.39A6 6 0 0114 14v.5a.5.5 0 01-1 0V14a5 5 0 00-10 0v.5a.5.5 0 01-1 0V14a6 6 0 013.87-5.61A4 4 0 018 1zm0 1a3 3 0 100 6 3 3 0 000-6z"
9815-
/>
9816-
</svg>
9817-
</span>
9818-
</span>
9819-
<input
9820-
class="ant-input"
9821-
placeholder="large size"
9822-
type="text"
9823-
value=""
9824-
/>
9825-
</span>,
9826-
<br />,
9827-
<br />,
9828-
<span
9829-
class="ant-input-affix-wrapper"
9830-
>
9831-
<span
9832-
class="ant-input-prefix"
9833-
>
9834-
<span
9835-
aria-label="user"
9836-
class="anticon anticon-user"
9837-
role="img"
9838-
>
9839-
<svg
9840-
aria-hidden="true"
9841-
data-icon="user"
9842-
fill="currentColor"
9843-
focusable="false"
9844-
height="1em"
9845-
viewBox="0 0 16 16"
9846-
width="1em"
9847-
>
9848-
<path
9849-
d="M8 1a4 4 0 012.13 7.39A6 6 0 0114 14v.5a.5.5 0 01-1 0V14a5 5 0 00-10 0v.5a.5.5 0 01-1 0V14a6 6 0 013.87-5.61A4 4 0 018 1zm0 1a3 3 0 100 6 3 3 0 000-6z"
9850-
/>
9851-
</svg>
9852-
</span>
9853-
</span>
9854-
<input
9855-
class="ant-input"
9856-
placeholder="default size"
9857-
type="text"
9858-
value=""
9859-
/>
9860-
</span>,
9861-
]
9862-
`;
9863-
98649791
exports[`renders ./components/input/demo/tooltip.md extend context correctly 1`] = `
98659792
Array [
98669793
<input

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

Lines changed: 0 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -3526,79 +3526,6 @@ exports[`renders ./components/input/demo/textarea-show-count.md correctly 1`] =
35263526
</div>
35273527
`;
35283528

3529-
exports[`renders ./components/input/demo/tip.md correctly 1`] = `
3530-
Array [
3531-
<span
3532-
class="ant-input-affix-wrapper"
3533-
>
3534-
<span
3535-
class="ant-input-prefix"
3536-
>
3537-
<span
3538-
aria-label="user"
3539-
class="anticon anticon-user"
3540-
role="img"
3541-
>
3542-
<svg
3543-
aria-hidden="true"
3544-
data-icon="user"
3545-
fill="currentColor"
3546-
focusable="false"
3547-
height="1em"
3548-
viewBox="0 0 16 16"
3549-
width="1em"
3550-
>
3551-
<path
3552-
d="M8 1a4 4 0 012.13 7.39A6 6 0 0114 14v.5a.5.5 0 01-1 0V14a5 5 0 00-10 0v.5a.5.5 0 01-1 0V14a6 6 0 013.87-5.61A4 4 0 018 1zm0 1a3 3 0 100 6 3 3 0 000-6z"
3553-
/>
3554-
</svg>
3555-
</span>
3556-
</span>
3557-
<input
3558-
class="ant-input"
3559-
placeholder="large size"
3560-
type="text"
3561-
value=""
3562-
/>
3563-
</span>,
3564-
<br />,
3565-
<br />,
3566-
<span
3567-
class="ant-input-affix-wrapper"
3568-
>
3569-
<span
3570-
class="ant-input-prefix"
3571-
>
3572-
<span
3573-
aria-label="user"
3574-
class="anticon anticon-user"
3575-
role="img"
3576-
>
3577-
<svg
3578-
aria-hidden="true"
3579-
data-icon="user"
3580-
fill="currentColor"
3581-
focusable="false"
3582-
height="1em"
3583-
viewBox="0 0 16 16"
3584-
width="1em"
3585-
>
3586-
<path
3587-
d="M8 1a4 4 0 012.13 7.39A6 6 0 0114 14v.5a.5.5 0 01-1 0V14a5 5 0 00-10 0v.5a.5.5 0 01-1 0V14a6 6 0 013.87-5.61A4 4 0 018 1zm0 1a3 3 0 100 6 3 3 0 000-6z"
3588-
/>
3589-
</svg>
3590-
</span>
3591-
</span>
3592-
<input
3593-
class="ant-input"
3594-
placeholder="default size"
3595-
type="text"
3596-
value=""
3597-
/>
3598-
</span>,
3599-
]
3600-
`;
3601-
36023529
exports[`renders ./components/input/demo/tooltip.md correctly 1`] = `
36033530
<input
36043531
class="ant-input"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3815,6 +3815,7 @@ exports[`renders ./components/select/demo/optgroup.md extend context correctly 1
38153815
>
38163816
<div
38173817
class="ant-select-item ant-select-item-group"
3818+
title="Manager"
38183819
>
38193820
Manager
38203821
</div>
@@ -3854,6 +3855,7 @@ exports[`renders ./components/select/demo/optgroup.md extend context correctly 1
38543855
</div>
38553856
<div
38563857
class="ant-select-item ant-select-item-group"
3858+
title="Engineer"
38573859
>
38583860
Engineer
38593861
</div>

0 commit comments

Comments
 (0)