Skip to content

Commit 73755d0

Browse files
committed
update snapshots
1 parent d0e3626 commit 73755d0

File tree

2 files changed

+17
-30
lines changed

2 files changed

+17
-30
lines changed

components/Cards/FlatCard/__tests__/__snapshots__/FlatCard.test.js.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ exports[`FlatCard should render with many props assigned 1`] = `
55
className="box-border my-6 mx-4 relative max-w-[400px] test-class"
66
>
77
<div
8-
className="p-8 border-4 border-solid border-themePrimary"
8+
className="p-8 flex flex-col gap-5 border-4 border-solid border-themePrimary"
99
>
1010
<div
11-
className="order-2 text-center"
11+
className="text-center"
1212
>
1313
<h1>
1414
Main heading
@@ -18,7 +18,7 @@ exports[`FlatCard should render with many props assigned 1`] = `
1818
</h6>
1919
</div>
2020
<hr
21-
className="w-10/12 border-solid border-themePrimary"
21+
className="w-full border-2 border-solid border-themePrimary"
2222
/>
2323
<div>
2424
<p>
@@ -49,7 +49,7 @@ exports[`FlatCard should render with required props 1`] = `
4949
className="box-border my-6 mx-4 relative max-w-[400px]"
5050
>
5151
<div
52-
className="p-8 border-4 border-solid border-themePrimary"
52+
className="p-8 flex flex-col gap-5 border-4 border-solid border-themePrimary"
5353
>
5454
<div>
5555
<p>
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,18 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`SuccessStory should render with required props 1`] = `
4-
<div
5-
className="box-border flex flex-col flex-nowrap items-center my-12 mx-4 pt-14 relative max-w-[320px] h-[940px] md:h-[748px] sm:h-auto"
4+
<FlatCard
5+
button={null}
6+
header="Great testing culture"
7+
image={
8+
Object {
9+
"alt": "",
10+
"source": "image.png",
11+
}
12+
}
613
>
7-
<div
8-
className="absolute top-0 h-48 shadow-[1px_2px_5p_3px_rgba(0, 0, 0, 0.35)]"
9-
>
10-
<MockedNextImage
11-
alt="Great testing culture headshot"
12-
height={200}
13-
layout="fixed"
14-
src="image.png"
15-
width={200}
16-
/>
17-
</div>
18-
<div
19-
className="flex flex-1 flex-col flex-nowrap items-center p-8 pt-40 border-2 border-solid border-themePrimary [&>blockquote]:my-4 [&>blockquote]:mx-0 [&>blockquote]:text-base"
20-
>
21-
<h6
22-
className="text-center text-base"
23-
>
24-
Great testing culture
25-
</h6>
26-
<blockquote>
27-
"Best test of my life!"
28-
</blockquote>
29-
</div>
30-
</div>
14+
<blockquote>
15+
"Best test of my life!"
16+
</blockquote>
17+
</FlatCard>
3118
`;

0 commit comments

Comments
 (0)