Skip to content

Commit

Permalink
test: update test case snap
Browse files Browse the repository at this point in the history
  • Loading branch information
zhang lay committed Mar 17, 2022
1 parent b0b4352 commit 38ef2a6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 146 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21049,6 +21049,7 @@ exports[`ConfigProvider components Select configProvider 1`] = `
>
<div
class="config-select-item config-select-item-group"
title="grp"
>
grp
</div>
Expand Down Expand Up @@ -21176,6 +21177,7 @@ exports[`ConfigProvider components Select configProvider componentSize large 1`]
>
<div
class="config-select-item config-select-item-group"
title="grp"
>
grp
</div>
Expand Down Expand Up @@ -21303,6 +21305,7 @@ exports[`ConfigProvider components Select configProvider componentSize middle 1`
>
<div
class="config-select-item config-select-item-group"
title="grp"
>
grp
</div>
Expand Down Expand Up @@ -21430,6 +21433,7 @@ exports[`ConfigProvider components Select configProvider virtual and dropdownMat
>
<div
class="ant-select-item ant-select-item-group"
title="grp"
>
grp
</div>
Expand Down Expand Up @@ -21557,6 +21561,7 @@ exports[`ConfigProvider components Select normal 1`] = `
>
<div
class="ant-select-item ant-select-item-group"
title="grp"
>
grp
</div>
Expand Down Expand Up @@ -21684,6 +21689,7 @@ exports[`ConfigProvider components Select prefixCls 1`] = `
>
<div
class="prefix-Select-item prefix-Select-item-group"
title="grp"
>
grp
</div>
Expand Down
73 changes: 0 additions & 73 deletions components/input/__tests__/__snapshots__/demo-extend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9788,79 +9788,6 @@ exports[`renders ./components/input/demo/textarea-show-count.md extend context c
</div>
`;

exports[`renders ./components/input/demo/tip.md extend context correctly 1`] = `
Array [
<span
class="ant-input-affix-wrapper"
>
<span
class="ant-input-prefix"
>
<span
aria-label="user"
class="anticon anticon-user"
role="img"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
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"
/>
</svg>
</span>
</span>
<input
class="ant-input"
placeholder="large size"
type="text"
value=""
/>
</span>,
<br />,
<br />,
<span
class="ant-input-affix-wrapper"
>
<span
class="ant-input-prefix"
>
<span
aria-label="user"
class="anticon anticon-user"
role="img"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
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"
/>
</svg>
</span>
</span>
<input
class="ant-input"
placeholder="default size"
type="text"
value=""
/>
</span>,
]
`;

exports[`renders ./components/input/demo/tooltip.md extend context correctly 1`] = `
Array [
<input
Expand Down
73 changes: 0 additions & 73 deletions components/input/__tests__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3526,79 +3526,6 @@ exports[`renders ./components/input/demo/textarea-show-count.md correctly 1`] =
</div>
`;

exports[`renders ./components/input/demo/tip.md correctly 1`] = `
Array [
<span
class="ant-input-affix-wrapper"
>
<span
class="ant-input-prefix"
>
<span
aria-label="user"
class="anticon anticon-user"
role="img"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
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"
/>
</svg>
</span>
</span>
<input
class="ant-input"
placeholder="large size"
type="text"
value=""
/>
</span>,
<br />,
<br />,
<span
class="ant-input-affix-wrapper"
>
<span
class="ant-input-prefix"
>
<span
aria-label="user"
class="anticon anticon-user"
role="img"
>
<svg
aria-hidden="true"
data-icon="user"
fill="currentColor"
focusable="false"
height="1em"
viewBox="0 0 16 16"
width="1em"
>
<path
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"
/>
</svg>
</span>
</span>
<input
class="ant-input"
placeholder="default size"
type="text"
value=""
/>
</span>,
]
`;

exports[`renders ./components/input/demo/tooltip.md correctly 1`] = `
<input
class="ant-input"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3815,6 +3815,7 @@ exports[`renders ./components/select/demo/optgroup.md extend context correctly 1
>
<div
class="ant-select-item ant-select-item-group"
title="Manager"
>
Manager
</div>
Expand Down Expand Up @@ -3854,6 +3855,7 @@ exports[`renders ./components/select/demo/optgroup.md extend context correctly 1
</div>
<div
class="ant-select-item ant-select-item-group"
title="Engineer"
>
Engineer
</div>
Expand Down

0 comments on commit 38ef2a6

Please sign in to comment.