Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit 98ba983

Browse files
committed
Jest
1 parent fbcaac7 commit 98ba983

15 files changed

+12302
-2434
lines changed
Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,238 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`parse 1`] = `
4+
Object {
5+
"next": undefined,
6+
"start": undefined,
7+
"type": "stylesheet",
8+
"value": Array [
9+
Object {
10+
"next": Object {
11+
"column": 23,
12+
"cursor": 23,
13+
"line": 1,
14+
},
15+
"start": Object {
16+
"column": 0,
17+
"cursor": 0,
18+
"line": 1,
19+
},
20+
"type": "rule",
21+
"value": Array [
22+
Object {
23+
"next": Object {
24+
"column": 3,
25+
"cursor": 3,
26+
"line": 1,
27+
},
28+
"start": Object {
29+
"column": 0,
30+
"cursor": 0,
31+
"line": 1,
32+
},
33+
"type": "selector",
34+
"value": Array [
35+
Object {
36+
"next": Object {
37+
"column": 2,
38+
"cursor": 2,
39+
"line": 1,
40+
},
41+
"start": Object {
42+
"column": 0,
43+
"cursor": 0,
44+
"line": 1,
45+
},
46+
"type": "class",
47+
"value": Array [
48+
Object {
49+
"next": Object {
50+
"column": 2,
51+
"cursor": 2,
52+
"line": 1,
53+
},
54+
"start": Object {
55+
"column": 1,
56+
"cursor": 1,
57+
"line": 1,
58+
},
59+
"type": "identifier",
60+
"value": "a",
61+
},
62+
],
63+
},
64+
Object {
65+
"next": Object {
66+
"column": 3,
67+
"cursor": 3,
68+
"line": 1,
69+
},
70+
"start": Object {
71+
"column": 2,
72+
"cursor": 2,
73+
"line": 1,
74+
},
75+
"type": "space",
76+
"value": " ",
77+
},
78+
],
79+
},
80+
Object {
81+
"next": Object {
82+
"column": 23,
83+
"cursor": 23,
84+
"line": 1,
85+
},
86+
"start": Object {
87+
"column": 3,
88+
"cursor": 3,
89+
"line": 1,
90+
},
91+
"type": "block",
92+
"value": Array [
93+
Object {
94+
"next": Object {
95+
"column": 5,
96+
"cursor": 5,
97+
"line": 1,
98+
},
99+
"start": Object {
100+
"column": 4,
101+
"cursor": 4,
102+
"line": 1,
103+
},
104+
"type": "space",
105+
"value": " ",
106+
},
107+
Object {
108+
"next": undefined,
109+
"start": Object {
110+
"column": 5,
111+
"cursor": 5,
112+
"line": 1,
113+
},
114+
"type": "declaration",
115+
"value": Array [
116+
Object {
117+
"next": Object {
118+
"column": 15,
119+
"cursor": 15,
120+
"line": 1,
121+
},
122+
"start": Object {
123+
"column": 5,
124+
"cursor": 5,
125+
"line": 1,
126+
},
127+
"type": "property",
128+
"value": Array [
129+
Object {
130+
"next": Object {
131+
"column": 15,
132+
"cursor": 15,
133+
"line": 1,
134+
},
135+
"start": Object {
136+
"column": 5,
137+
"cursor": 5,
138+
"line": 1,
139+
},
140+
"type": "identifier",
141+
"value": "background",
142+
},
143+
],
144+
},
145+
Object {
146+
"next": Object {
147+
"column": 16,
148+
"cursor": 16,
149+
"line": 1,
150+
},
151+
"start": Object {
152+
"column": 15,
153+
"cursor": 15,
154+
"line": 1,
155+
},
156+
"type": "punctuation",
157+
"value": ":",
158+
},
159+
Object {
160+
"next": Object {
161+
"column": 20,
162+
"cursor": 20,
163+
"line": 1,
164+
},
165+
"start": Object {
166+
"column": 16,
167+
"cursor": 16,
168+
"line": 1,
169+
},
170+
"type": "value",
171+
"value": Array [
172+
Object {
173+
"next": Object {
174+
"column": 17,
175+
"cursor": 17,
176+
"line": 1,
177+
},
178+
"start": Object {
179+
"column": 16,
180+
"cursor": 16,
181+
"line": 1,
182+
},
183+
"type": "space",
184+
"value": " ",
185+
},
186+
Object {
187+
"next": Object {
188+
"column": 20,
189+
"cursor": 20,
190+
"line": 1,
191+
},
192+
"start": Object {
193+
"column": 17,
194+
"cursor": 17,
195+
"line": 1,
196+
},
197+
"type": "identifier",
198+
"value": "red",
199+
},
200+
],
201+
},
202+
Object {
203+
"next": Object {
204+
"column": 21,
205+
"cursor": 21,
206+
"line": 1,
207+
},
208+
"start": Object {
209+
"column": 20,
210+
"cursor": 20,
211+
"line": 1,
212+
},
213+
"type": "punctuation",
214+
"value": ";",
215+
},
216+
],
217+
},
218+
Object {
219+
"next": Object {
220+
"column": 22,
221+
"cursor": 22,
222+
"line": 1,
223+
},
224+
"start": Object {
225+
"column": 21,
226+
"cursor": 21,
227+
"line": 1,
228+
},
229+
"type": "space",
230+
"value": " ",
231+
},
232+
],
233+
},
234+
],
235+
},
236+
],
237+
}
238+
`;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`#position defaults the position to 0 1`] = `
4+
Object {
5+
"column": 0,
6+
"cursor": 0,
7+
"line": 1,
8+
}
9+
`;
10+
11+
exports[`returns an new InputStream 1`] = `
12+
Object {
13+
"eof": [Function],
14+
"err": [Function],
15+
"next": [Function],
16+
"peek": [Function],
17+
"position": [Function],
18+
}
19+
`;

0 commit comments

Comments
 (0)