Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 16, 2024
1 parent e5ff5f8 commit d51ae65
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -510,28 +510,24 @@ exports[`renders components/notification/demo/render-panel.tsx extend context co
tabindex="0"
>
<span
class="ant-notification-close-x"
aria-label="close"
class="anticon anticon-close ant-notification-close-icon"
role="img"
>
<span
aria-label="close"
class="anticon anticon-close ant-notification-close-icon"
role="img"
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
/>
</svg>
</span>
<path
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
/>
</svg>
</span>
</a>
</div>
Expand Down
36 changes: 16 additions & 20 deletions components/notification/__tests__/__snapshots__/demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -498,28 +498,24 @@ exports[`renders components/notification/demo/render-panel.tsx correctly 1`] = `
tabindex="0"
>
<span
class="ant-notification-close-x"
aria-label="close"
class="anticon anticon-close ant-notification-close-icon"
role="img"
>
<span
aria-label="close"
class="anticon anticon-close ant-notification-close-icon"
role="img"
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<svg
aria-hidden="true"
data-icon="close"
fill="currentColor"
fill-rule="evenodd"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
/>
</svg>
</span>
<path
d="M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"
/>
</svg>
</span>
</a>
</div>
Expand Down
48 changes: 24 additions & 24 deletions components/tour/__tests__/__snapshots__/demo-extend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ Array [
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -112,7 +112,7 @@ Array [
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-cover"
>
Expand Down Expand Up @@ -260,9 +260,9 @@ Array [
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -284,7 +284,7 @@ Array [
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down Expand Up @@ -418,9 +418,9 @@ Array [
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -442,7 +442,7 @@ Array [
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-cover"
>
Expand Down Expand Up @@ -590,9 +590,9 @@ Array [
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -614,7 +614,7 @@ Array [
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-cover"
>
Expand Down Expand Up @@ -694,9 +694,9 @@ Array [
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -718,7 +718,7 @@ Array [
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down Expand Up @@ -793,9 +793,9 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -817,7 +817,7 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down Expand Up @@ -894,9 +894,9 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -918,7 +918,7 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-cover"
>
Expand Down Expand Up @@ -1014,9 +1014,9 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -1038,7 +1038,7 @@ exports[`renders components/tour/demo/render-panel.tsx extend context correctly
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down
18 changes: 9 additions & 9 deletions components/tour/__tests__/__snapshots__/demo.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -366,7 +366,7 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down Expand Up @@ -443,9 +443,9 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -467,7 +467,7 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-cover"
>
Expand Down Expand Up @@ -563,9 +563,9 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
<div
class="ant-tour-inner"
>
<span
aria-label="Close"
<button
class="ant-tour-close"
type="button"
>
<span
aria-label="close"
Expand All @@ -587,7 +587,7 @@ exports[`renders components/tour/demo/render-panel.tsx correctly 1`] = `
/>
</svg>
</span>
</span>
</button>
<div
class="ant-tour-header"
>
Expand Down

0 comments on commit d51ae65

Please sign in to comment.