Skip to content

Commit c6d1728

Browse files
committed
Chore: remove old test directory.
1 parent d670ac9 commit c6d1728

18 files changed

+1013
-1714
lines changed

test/fixtures/template-ast/svg-attrs-camel-case.ast.json renamed to test/fixtures/ast/svg-attrs-camel-case/ast.json

+287-257
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[
2+
"<script>",
3+
"module",
4+
".",
5+
"exports",
6+
"=",
7+
"{",
8+
"}",
9+
"</script>",
10+
"<template",
11+
">",
12+
"\n ",
13+
"<div",
14+
">",
15+
"\n ",
16+
"<svg",
17+
"viewBox",
18+
"=",
19+
"\"0 0 40 40\"",
20+
">",
21+
"</svg",
22+
">",
23+
"\n ",
24+
"</div",
25+
">",
26+
"\n",
27+
"</template",
28+
">",
29+
"\n\n",
30+
"<script",
31+
">",
32+
"\n",
33+
"module.exports",
34+
" ",
35+
"=",
36+
" ",
37+
"{}",
38+
"\n",
39+
"</script",
40+
">",
41+
"\n"
42+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
[
2+
{
3+
"type": "VElement",
4+
"text": "<template>\n <div>\n <svg viewBox=\"0 0 40 40\"></svg>\n </div>\n</template>",
5+
"children": [
6+
{
7+
"type": "VStartTag",
8+
"text": "<template>",
9+
"children": []
10+
},
11+
{
12+
"type": "VText",
13+
"text": "\n ",
14+
"children": []
15+
},
16+
{
17+
"type": "VElement",
18+
"text": "<div>\n <svg viewBox=\"0 0 40 40\"></svg>\n </div>",
19+
"children": [
20+
{
21+
"type": "VStartTag",
22+
"text": "<div>",
23+
"children": []
24+
},
25+
{
26+
"type": "VText",
27+
"text": "\n ",
28+
"children": []
29+
},
30+
{
31+
"type": "VElement",
32+
"text": "<svg viewBox=\"0 0 40 40\"></svg>",
33+
"children": [
34+
{
35+
"type": "VStartTag",
36+
"text": "<svg viewBox=\"0 0 40 40\">",
37+
"children": [
38+
{
39+
"type": "VAttribute",
40+
"text": "viewBox=\"0 0 40 40\"",
41+
"children": [
42+
{
43+
"type": "VIdentifier",
44+
"text": "viewBox",
45+
"children": []
46+
},
47+
{
48+
"type": "VLiteral",
49+
"text": "\"0 0 40 40\"",
50+
"children": []
51+
}
52+
]
53+
}
54+
]
55+
},
56+
{
57+
"type": "VEndTag",
58+
"text": "</svg>",
59+
"children": []
60+
}
61+
]
62+
},
63+
{
64+
"type": "VText",
65+
"text": "\n ",
66+
"children": []
67+
},
68+
{
69+
"type": "VEndTag",
70+
"text": "</div>",
71+
"children": []
72+
}
73+
]
74+
},
75+
{
76+
"type": "VText",
77+
"text": "\n",
78+
"children": []
79+
},
80+
{
81+
"type": "VEndTag",
82+
"text": "</template>",
83+
"children": []
84+
}
85+
]
86+
}
87+
]

0 commit comments

Comments
 (0)