Skip to content

Commit

Permalink
feat(tests): snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasdano committed Sep 13, 2023
1 parent 124544c commit ebcc185
Show file tree
Hide file tree
Showing 5 changed files with 340 additions and 9 deletions.
4 changes: 4 additions & 0 deletions src/components/DatePicker/Day/__snapshots__/Day.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ exports[`Day should render correctly 1`] = `
>
<div
class="emotion-0"
data-testid="3_11_2020"
>
<div
class="emotion-1"
Expand Down Expand Up @@ -172,6 +173,7 @@ exports[`Day should render disabled correctly 1`] = `
>
<div
class="emotion-0"
data-testid="3_11_2020"
>
<div
class="emotion-1"
Expand Down Expand Up @@ -304,6 +306,7 @@ exports[`Day should render isFirst, isLast correctly 1`] = `
>
<div
class="emotion-0"
data-testid="3_11_2020"
>
<div
class="emotion-1"
Expand Down Expand Up @@ -436,6 +439,7 @@ exports[`Day should render isFirst, isLast correctly 2`] = `
>
<div
class="emotion-0"
data-testid="3_11_2020"
>
<div
class="emotion-1"
Expand Down
30 changes: 30 additions & 0 deletions src/components/DatePicker/Month/__snapshots__/Month.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-15"
data-testid="1_11_2020"
>
<div
class="emotion-16"
Expand All @@ -482,6 +483,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-15"
data-testid="2_11_2020"
>
<div
class="emotion-16"
Expand All @@ -495,6 +497,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-19"
data-testid="3_11_2020"
>
<div
class="emotion-20"
Expand All @@ -508,6 +511,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-21"
data-testid="4_11_2020_selected"
>
<div
class="emotion-22"
Expand All @@ -521,6 +525,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="5_11_2020"
>
<div
class="emotion-24"
Expand All @@ -534,6 +539,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="6_11_2020"
>
<div
class="emotion-24"
Expand All @@ -547,6 +553,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="7_11_2020"
>
<div
class="emotion-24"
Expand All @@ -560,6 +567,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="8_11_2020"
>
<div
class="emotion-24"
Expand All @@ -575,6 +583,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="9_11_2020"
>
<div
class="emotion-24"
Expand All @@ -588,6 +597,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="10_11_2020"
>
<div
class="emotion-24"
Expand All @@ -601,6 +611,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="11_11_2020"
>
<div
class="emotion-24"
Expand All @@ -614,6 +625,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="12_11_2020"
>
<div
class="emotion-24"
Expand All @@ -627,6 +639,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="13_11_2020"
>
<div
class="emotion-24"
Expand All @@ -640,6 +653,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="14_11_2020"
>
<div
class="emotion-24"
Expand All @@ -653,6 +667,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="15_11_2020"
>
<div
class="emotion-24"
Expand All @@ -668,6 +683,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="16_11_2020"
>
<div
class="emotion-24"
Expand All @@ -681,6 +697,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="17_11_2020"
>
<div
class="emotion-24"
Expand All @@ -694,6 +711,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="18_11_2020"
>
<div
class="emotion-24"
Expand All @@ -707,6 +725,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="19_11_2020"
>
<div
class="emotion-24"
Expand All @@ -720,6 +739,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="20_11_2020"
>
<div
class="emotion-24"
Expand All @@ -733,6 +753,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="21_11_2020"
>
<div
class="emotion-24"
Expand All @@ -746,6 +767,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="22_11_2020"
>
<div
class="emotion-24"
Expand All @@ -761,6 +783,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="23_11_2020"
>
<div
class="emotion-24"
Expand All @@ -774,6 +797,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="24_11_2020"
>
<div
class="emotion-24"
Expand All @@ -787,6 +811,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="25_11_2020"
>
<div
class="emotion-24"
Expand All @@ -800,6 +825,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="26_11_2020"
>
<div
class="emotion-24"
Expand All @@ -813,6 +839,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="27_11_2020"
>
<div
class="emotion-24"
Expand All @@ -826,6 +853,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="28_11_2020"
>
<div
class="emotion-24"
Expand All @@ -839,6 +867,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="29_11_2020"
>
<div
class="emotion-24"
Expand All @@ -854,6 +883,7 @@ exports[`Month should render correctly 1`] = `
>
<div
class="emotion-23"
data-testid="30_11_2020"
>
<div
class="emotion-24"
Expand Down
Loading

0 comments on commit ebcc185

Please sign in to comment.