Skip to content

Commit 3c383d6

Browse files
committed
update snapshots
1 parent 3b276f6 commit 3c383d6

File tree

2 files changed

+62
-61
lines changed

2 files changed

+62
-61
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
`;

packages/render/src/shared/utils/__snapshots__/pretty.spec.ts.snap

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

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-
643
exports[`pretty > should not wrap [if mso] syntax 1`] = `
654
"<span>
665
<!--[if mso]><i style="mso-font-width:100%;mso-text-raise:12" hidden>&#8202;&#8202;</i><![endif]-->

0 commit comments

Comments
 (0)