Skip to content

Commit aaff519

Browse files
committed
refactor: fix typo
1 parent 9034697 commit aaff519

19 files changed

+1874
-101
lines changed

packages/relottie-parse/__tests__/__snapshots__/structure/attribute-1.snap

Lines changed: 172 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,49 +6,217 @@ Object {
66
Object {
77
"children": Array [
88
Object {
9+
"position": Object {
10+
"end": Object {
11+
"column": 15,
12+
"line": 2,
13+
"offset": 16,
14+
},
15+
"start": Object {
16+
"column": 8,
17+
"line": 2,
18+
"offset": 9,
19+
},
20+
},
921
"type": "String",
1022
"value": "5.5.7",
1123
},
1224
],
13-
"key": "v",
25+
"key": Object {
26+
"position": Object {
27+
"end": Object {
28+
"column": 6,
29+
"line": 2,
30+
"offset": 7,
31+
},
32+
"start": Object {
33+
"column": 3,
34+
"line": 2,
35+
"offset": 4,
36+
},
37+
},
38+
"type": "Key",
39+
"value": "v",
40+
},
41+
"position": Object {
42+
"end": Object {
43+
"column": 15,
44+
"line": 2,
45+
"offset": 16,
46+
},
47+
"start": Object {
48+
"column": 3,
49+
"line": 2,
50+
"offset": 4,
51+
},
52+
},
1453
"title": "version",
1554
"type": "Attribute",
1655
},
1756
Object {
1857
"children": Array [
1958
Object {
59+
"position": Object {
60+
"end": Object {
61+
"column": 10,
62+
"line": 3,
63+
"offset": 27,
64+
},
65+
"start": Object {
66+
"column": 9,
67+
"line": 3,
68+
"offset": 26,
69+
},
70+
},
2071
"type": "Number",
2172
"value": 0,
2273
},
2374
],
24-
"key": "ip",
75+
"key": Object {
76+
"position": Object {
77+
"end": Object {
78+
"column": 7,
79+
"line": 3,
80+
"offset": 24,
81+
},
82+
"start": Object {
83+
"column": 3,
84+
"line": 3,
85+
"offset": 20,
86+
},
87+
},
88+
"type": "Key",
89+
"value": "ip",
90+
},
91+
"position": Object {
92+
"end": Object {
93+
"column": 10,
94+
"line": 3,
95+
"offset": 27,
96+
},
97+
"start": Object {
98+
"column": 3,
99+
"line": 3,
100+
"offset": 20,
101+
},
102+
},
25103
"title": "in-point",
26104
"type": "Attribute",
27105
},
28106
Object {
29107
"children": Array [
30108
Object {
109+
"position": Object {
110+
"end": Object {
111+
"column": 13,
112+
"line": 4,
113+
"offset": 41,
114+
},
115+
"start": Object {
116+
"column": 8,
117+
"line": 4,
118+
"offset": 36,
119+
},
120+
},
31121
"type": "Boolean",
32122
"value": false,
33123
},
34124
],
35-
"key": "c",
125+
"key": Object {
126+
"position": Object {
127+
"end": Object {
128+
"column": 6,
129+
"line": 4,
130+
"offset": 34,
131+
},
132+
"start": Object {
133+
"column": 3,
134+
"line": 4,
135+
"offset": 31,
136+
},
137+
},
138+
"type": "Key",
139+
"value": "c",
140+
},
141+
"position": Object {
142+
"end": Object {
143+
"column": 13,
144+
"line": 4,
145+
"offset": 41,
146+
},
147+
"start": Object {
148+
"column": 3,
149+
"line": 4,
150+
"offset": 31,
151+
},
152+
},
36153
"title": "custom",
37154
"type": "Attribute",
38155
},
39156
Object {
40157
"children": Array [
41158
Object {
159+
"position": Object {
160+
"end": Object {
161+
"column": 16,
162+
"line": 5,
163+
"offset": 58,
164+
},
165+
"start": Object {
166+
"column": 12,
167+
"line": 5,
168+
"offset": 54,
169+
},
170+
},
42171
"type": "Null",
43172
"value": null,
44173
},
45174
],
46-
"key": "empty",
175+
"key": Object {
176+
"position": Object {
177+
"end": Object {
178+
"column": 10,
179+
"line": 5,
180+
"offset": 52,
181+
},
182+
"start": Object {
183+
"column": 3,
184+
"line": 5,
185+
"offset": 45,
186+
},
187+
},
188+
"type": "Key",
189+
"value": "empty",
190+
},
191+
"position": Object {
192+
"end": Object {
193+
"column": 16,
194+
"line": 5,
195+
"offset": 58,
196+
},
197+
"start": Object {
198+
"column": 3,
199+
"line": 5,
200+
"offset": 45,
201+
},
202+
},
47203
"title": "custom",
48204
"type": "Attribute",
49205
},
50206
],
51207
"hasExpressions": false,
208+
"position": Object {
209+
"end": Object {
210+
"column": 2,
211+
"line": 6,
212+
"offset": 60,
213+
},
214+
"start": Object {
215+
"column": 1,
216+
"line": 1,
217+
"offset": 0,
218+
},
219+
},
52220
"title": "animation",
53221
"type": "Root",
54222
}

0 commit comments

Comments
 (0)