/
index.test.tsx.snap
70 lines (64 loc) · 1.45 KB
/
index.test.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
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Serialization function serializes a JSON+LD script element with data set dangerously correctly 1`] = `
<script
type="application/ld+json"
>
Object {}
</script>
`;
exports[`Serialization function serializes a script element created using React.createElement 1`] = `
<script
type="application/ld+json"
>
Object {
"@context": "http://schema.org",
"@id": "https://example.dev/example_thing",
"@type": "Thing",
}
</script>
`;
exports[`Serialization function serializes a script element with data correctly 1`] = `
<script
type="application/ld+json"
>
Object {
"@context": "http://schema.org",
"@id": "https://example.dev/example_thing",
"@type": "Thing",
}
</script>
`;
exports[`Serialization function serializes a script element wrapped in a component 1`] = `
<div>
<div>
<script
type="application/ld+json"
>
Object {
"@context": "http://schema.org",
"@id": "https://example.dev/example_thing",
"@type": "Thing",
}
</script>
</div>
</div>
`;
exports[`Serialization function serializes a wrapped script element with data correctly 1`] = `
<div>
<script
type="application/ld+json"
>
Object {
"@context": "http://schema.org",
"@id": "https://example.dev/example_thing",
"@type": "Thing",
}
</script>
</div>
`;
exports[`Serialization module matches expectations 1`] = `
Object {
"print": [Function],
"test": [Function],
}
`;