Skip to content

Commit

Permalink
test: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
aojunhao123 committed Jan 29, 2025
1 parent eeb38b9 commit 1c2072b
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 30 deletions.
27 changes: 18 additions & 9 deletions components/flex/__tests__/__snapshots__/demo-extend.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="flex-start"
>
flex-start
Expand All @@ -42,8 +43,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="center"
>
center
Expand All @@ -58,8 +60,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="flex-end"
>
flex-end
Expand All @@ -74,8 +77,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-between"
>
space-between
Expand All @@ -90,8 +94,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-around"
>
space-around
Expand All @@ -106,8 +111,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-evenly"
>
space-evenly
Expand Down Expand Up @@ -137,8 +143,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="flex-start"
>
flex-start
Expand All @@ -153,8 +160,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="center"
>
center
Expand All @@ -169,8 +177,9 @@ exports[`renders components/flex/demo/align.tsx extend context correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="flex-end"
>
flex-end
Expand Down
27 changes: 18 additions & 9 deletions components/flex/__tests__/__snapshots__/demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="flex-start"
>
flex-start
Expand All @@ -42,8 +43,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="center"
>
center
Expand All @@ -58,8 +60,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="flex-end"
>
flex-end
Expand All @@ -74,8 +77,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-between"
>
space-between
Expand All @@ -90,8 +94,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-around"
>
space-around
Expand All @@ -106,8 +111,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="space-evenly"
>
space-evenly
Expand Down Expand Up @@ -137,8 +143,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="flex-start"
>
flex-start
Expand All @@ -153,8 +160,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="center"
>
center
Expand All @@ -169,8 +177,9 @@ exports[`renders components/flex/demo/align.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="flex-end"
>
flex-end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,9 @@ exports[`renders components/qr-code/demo/download.tsx extend context correctly 1
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="canvas"
>
canvas
Expand All @@ -423,8 +424,9 @@ exports[`renders components/qr-code/demo/download.tsx extend context correctly 1
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="svg"
>
svg
Expand Down Expand Up @@ -498,8 +500,9 @@ Array [
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="L"
>
L
Expand All @@ -514,8 +517,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="M"
>
M
Expand All @@ -530,8 +534,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="Q"
>
Q
Expand All @@ -546,8 +551,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="H"
>
H
Expand Down
18 changes: 12 additions & 6 deletions components/qr-code/__tests__/__snapshots__/demo.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,9 @@ exports[`renders components/qr-code/demo/download.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="canvas"
>
canvas
Expand All @@ -380,8 +381,9 @@ exports[`renders components/qr-code/demo/download.tsx correctly 1`] = `
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="svg"
>
svg
Expand Down Expand Up @@ -453,8 +455,9 @@ Array [
type="radio"
/>
<div
aria-selected="true"
aria-checked="true"
class="ant-segmented-item-label"
role="radio"
title="L"
>
L
Expand All @@ -469,8 +472,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="M"
>
M
Expand All @@ -485,8 +489,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="Q"
>
Q
Expand All @@ -501,8 +506,9 @@ Array [
type="radio"
/>
<div
aria-selected="false"
aria-checked="false"
class="ant-segmented-item-label"
role="radio"
title="H"
>
H
Expand Down

0 comments on commit 1c2072b

Please sign in to comment.