-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathcomment.test.ts.snap
More file actions
49 lines (44 loc) · 966 Bytes
/
comment.test.ts.snap
File metadata and controls
49 lines (44 loc) · 966 Bytes
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
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`Comment deals with custom style 1`] = `
<div>
<p
style="custom: true;"
>
<http://example.com/#bla>
</p>
</div>
`;
exports[`Comment deals with missing container 1`] = `
<div>
<p
style="padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;"
>
<http://example.com/#bla>
</p>
</div>
`;
exports[`Comment deals with missing content 1`] = `
<div>
<p
style="padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;"
>
Error: No contents in comment field.
</p>
</div>
`;
exports[`Comment deals with missing field params in non-bottom field type 1`] = `
<div>
<undefined>
<http://example.com/#bla>
</undefined>
</div>
`;
exports[`Comment runs 1`] = `
<div>
<p
style="padding: 0.7em; border: none; font-size: 100%; white-space: pre-wrap;"
>
<http://example.com/#bla>
</p>
</div>
`;