|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | 3 | exports[`StoryCard renders with all props 1`] = ` |
4 | | -<style__StyledLink |
| 4 | +<style__StyledCard |
5 | 5 | href="kids-help-line" |
6 | 6 | title="Crisis Text Line provides mental health support for youth during lockdown" |
7 | 7 | > |
8 | | - <style__StyledCard> |
9 | | - <style__StyledTextBox> |
10 | | - <style__StyledInfoBox> |
11 | | - <style__StyledIconTypeBox> |
12 | | - <style__StyledIconBox> |
13 | | - <DecorativeIcon |
14 | | - size={20} |
15 | | - /> |
16 | | - </style__StyledIconBox> |
17 | | - <style__StyledType> |
18 | | - Article |
19 | | - </style__StyledType> |
20 | | - </style__StyledIconTypeBox> |
21 | | - <style__StyledDate> |
22 | | - May 11th, 2021 |
23 | | - </style__StyledDate> |
24 | | - </style__StyledInfoBox> |
25 | | - <style__StyledHeadingBox> |
26 | | - <style__StyledHeading> |
27 | | - Crisis Text Line provides mental health support for youth during lockdown |
28 | | - </style__StyledHeading> |
29 | | - </style__StyledHeadingBox> |
30 | | - <style__StyledDescription> |
31 | | - With the help of a Foundation grant |
32 | | - </style__StyledDescription> |
33 | | - </style__StyledTextBox> |
34 | | - <style__StyledImageContainer> |
35 | | - <style__StyledImage |
36 | | - alt="With the help of a Foundation grant" |
37 | | - src="blog-example.jpg" |
38 | | - /> |
39 | | - </style__StyledImageContainer> |
40 | | - </style__StyledCard> |
41 | | -</style__StyledLink> |
| 8 | + <style__StyledTextBox> |
| 9 | + <style__StyledInfoBox> |
| 10 | + <style__StyledIconTypeBox> |
| 11 | + <style__StyledIconBox> |
| 12 | + <DecorativeIcon |
| 13 | + size={20} |
| 14 | + /> |
| 15 | + </style__StyledIconBox> |
| 16 | + <style__StyledType> |
| 17 | + Article |
| 18 | + </style__StyledType> |
| 19 | + </style__StyledIconTypeBox> |
| 20 | + <style__StyledDate> |
| 21 | + May 11th, 2021 |
| 22 | + </style__StyledDate> |
| 23 | + </style__StyledInfoBox> |
| 24 | + <style__StyledHeadingBox> |
| 25 | + <style__StyledHeading> |
| 26 | + Crisis Text Line provides mental health support for youth during lockdown |
| 27 | + </style__StyledHeading> |
| 28 | + </style__StyledHeadingBox> |
| 29 | + <style__StyledDescription> |
| 30 | + With the help of a Foundation grant |
| 31 | + </style__StyledDescription> |
| 32 | + </style__StyledTextBox> |
| 33 | + <style__StyledImageContainer> |
| 34 | + <style__StyledImage |
| 35 | + alt="With the help of a Foundation grant" |
| 36 | + src="blog-example.jpg" |
| 37 | + /> |
| 38 | + </style__StyledImageContainer> |
| 39 | +</style__StyledCard> |
42 | 40 | `; |
43 | 41 |
|
44 | 42 | exports[`StoryCard renders without required prop 1`] = ` |
45 | | -<style__StyledLink |
| 43 | +<style__StyledCard |
46 | 44 | href="kids-help-line" |
47 | 45 | title="Crisis Text Line provides mental health support for youth during lockdown" |
48 | 46 | > |
49 | | - <style__StyledCard> |
50 | | - <style__StyledTextBox> |
51 | | - <style__StyledInfoBox> |
52 | | - <style__StyledIconTypeBox> |
53 | | - <style__StyledIconBox> |
54 | | - <DecorativeIcon |
55 | | - size={20} |
56 | | - /> |
57 | | - </style__StyledIconBox> |
58 | | - <style__StyledType> |
59 | | - Article |
60 | | - </style__StyledType> |
61 | | - </style__StyledIconTypeBox> |
62 | | - <style__StyledDate /> |
63 | | - </style__StyledInfoBox> |
64 | | - <style__StyledHeadingBox> |
65 | | - <style__StyledHeading> |
66 | | - Crisis Text Line provides mental health support for youth during lockdown |
67 | | - </style__StyledHeading> |
68 | | - </style__StyledHeadingBox> |
69 | | - <style__StyledDescription> |
70 | | - With the help of a Foundation grant |
71 | | - </style__StyledDescription> |
72 | | - </style__StyledTextBox> |
73 | | - <style__StyledImageContainer> |
74 | | - <style__StyledImage |
75 | | - alt="With the help of a Foundation grant" |
76 | | - src="blog-example.jpg" |
77 | | - /> |
78 | | - </style__StyledImageContainer> |
79 | | - </style__StyledCard> |
80 | | -</style__StyledLink> |
| 47 | + <style__StyledTextBox> |
| 48 | + <style__StyledInfoBox> |
| 49 | + <style__StyledIconTypeBox> |
| 50 | + <style__StyledIconBox> |
| 51 | + <DecorativeIcon |
| 52 | + size={20} |
| 53 | + /> |
| 54 | + </style__StyledIconBox> |
| 55 | + <style__StyledType> |
| 56 | + Article |
| 57 | + </style__StyledType> |
| 58 | + </style__StyledIconTypeBox> |
| 59 | + <style__StyledDate /> |
| 60 | + </style__StyledInfoBox> |
| 61 | + <style__StyledHeadingBox> |
| 62 | + <style__StyledHeading> |
| 63 | + Crisis Text Line provides mental health support for youth during lockdown |
| 64 | + </style__StyledHeading> |
| 65 | + </style__StyledHeadingBox> |
| 66 | + <style__StyledDescription> |
| 67 | + With the help of a Foundation grant |
| 68 | + </style__StyledDescription> |
| 69 | + </style__StyledTextBox> |
| 70 | + <style__StyledImageContainer> |
| 71 | + <style__StyledImage |
| 72 | + alt="With the help of a Foundation grant" |
| 73 | + src="blog-example.jpg" |
| 74 | + /> |
| 75 | + </style__StyledImageContainer> |
| 76 | +</style__StyledCard> |
81 | 77 | `; |
0 commit comments