File tree Expand file tree Collapse file tree 2 files changed +62
-61
lines changed
packages/render/src/shared/utils/__snapshots__ Expand file tree Collapse file tree 2 files changed +62
-61
lines changed Original file line number Diff line number Diff line change
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports [` lenientParse() > should parse base doucment correctly 1` ] = `
4
+ [
5
+ {
6
+ " content" : " html PUBLIC " - // W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"",
7
+ " type" : " doctype" ,
8
+ } ,
9
+ {
10
+ " children" : [
11
+ {
12
+ " children" : [],
13
+ " name" : " head" ,
14
+ " properties" : [],
15
+ " type" : " tag" ,
16
+ " void" : false ,
17
+ },
18
+ {
19
+ " children" : [
20
+ {
21
+ " children" : [
22
+ {
23
+ " content" : " whatever" ,
24
+ " type" : " text" ,
25
+ },
26
+ ],
27
+ " name" : " h1" ,
28
+ " properties" : [],
29
+ " type" : " tag" ,
30
+ " void" : false ,
31
+ },
32
+ {
33
+ " children" : [],
34
+ " name" : " input" ,
35
+ " properties" : [
36
+ {
37
+ " name" : " placeholder" ,
38
+ " value" : " " hello world " " ,
39
+ },
40
+ ],
41
+ " type" : " tag" ,
42
+ " void" : true ,
43
+ },
44
+ ],
45
+ " name" : " body" ,
46
+ " properties" : [
47
+ {
48
+ " name" : " style" ,
49
+ " value" : " " background - color :#fff ;" " ,
50
+ },
51
+ ],
52
+ " type" : " tag" ,
53
+ " void" : false ,
54
+ },
55
+ ],
56
+ " name" : " html" ,
57
+ " properties" : [],
58
+ " type" : " tag" ,
59
+ " void" : false ,
60
+ } ,
61
+ ]
62
+ ` ;
Original file line number Diff line number Diff line change 1
1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
3
- exports [` lenientParse() > should parse base doucment correctly 1` ] = `
4
- [
5
- {
6
- " content" : " html PUBLIC " - // W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"",
7
- " type" : " doctype" ,
8
- } ,
9
- {
10
- " children" : [
11
- {
12
- " children" : [],
13
- " name" : " head" ,
14
- " properties" : [],
15
- " type" : " tag" ,
16
- " void" : false ,
17
- },
18
- {
19
- " children" : [
20
- {
21
- " children" : [
22
- {
23
- " content" : " whatever" ,
24
- " type" : " text" ,
25
- },
26
- ],
27
- " name" : " h1" ,
28
- " properties" : [],
29
- " type" : " tag" ,
30
- " void" : false ,
31
- },
32
- {
33
- " children" : [],
34
- " name" : " input" ,
35
- " properties" : [
36
- {
37
- " name" : " placeholder" ,
38
- " value" : " " hello world " " ,
39
- },
40
- ],
41
- " type" : " tag" ,
42
- " void" : true ,
43
- },
44
- ],
45
- " name" : " body" ,
46
- " properties" : [
47
- {
48
- " name" : " style" ,
49
- " value" : " " background - color :#fff ;" " ,
50
- },
51
- ],
52
- " type" : " tag" ,
53
- " void" : false ,
54
- },
55
- ],
56
- " name" : " html" ,
57
- " properties" : [],
58
- " type" : " tag" ,
59
- " void" : false ,
60
- } ,
61
- ]
62
- ` ;
63
-
64
3
exports [` pretty > should not wrap [if mso] syntax 1` ] = `
65
4
"<span >
66
5
<!--[if mso]><i style = " mso-font-width:100%;mso-text-raise:12" hidden >   </i ><![endif]-->
You can’t perform that action at this time.
0 commit comments