-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathindex.tsx.snap
73 lines (66 loc) · 1.4 KB
/
index.tsx.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Text should render align 1`] = `
Snapshot Diff:
- Received styles
+ Base styles
@@ -3,8 +3,9 @@
"color": "#1e1e1e",
"font-size": "calc((13 / 13) * 13px)",
"font-weight": "normal",
"line-height": "1.4",
"margin": "0",
+ "text-align": "center",
"text-wrap": "pretty",
},
]
`;
exports[`Text should render highlighted words with highlightCaseSensitive 1`] = `
.emotion-0 {
color: #1e1e1e;
line-height: 1.4;
margin: 0;
text-wrap: balance;
text-wrap: pretty;
font-size: calc((13 / 13) * 13px);
font-weight: normal;
}
.emotion-0 mark {
background: #f0b849;
border-radius: 2px;
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;
}
<div>
<span
class="components-truncate components-text emotion-0 emotion-1"
data-wp-c16t="true"
data-wp-component="Text"
role="heading"
>
<span
class=""
>
Lorem ipsum.
</span>
</span>
</div>
`;
exports[`Text snapshot tests should render correctly 1`] = `
.emotion-0 {
color: #1e1e1e;
line-height: 1.4;
margin: 0;
text-wrap: balance;
text-wrap: pretty;
font-size: calc((13 / 13) * 13px);
font-weight: normal;
}
<div>
<span
class="components-truncate components-text emotion-0 emotion-1"
data-wp-c16t="true"
data-wp-component="Text"
>
Lorem ipsum.
</span>
</div>
`;