Skip to content

Commit 9cf46d7

Browse files
committed
add snapshot
1 parent 0969339 commit 9cf46d7

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed

test/message/__snapshots__/parser.test.ts.snap

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,99 @@ Object {
223223
}
224224
`;
225225

226+
exports[`parse: list 1`] = `
227+
Object {
228+
"body": Object {
229+
"end": 11,
230+
"items": Array [
231+
Object {
232+
"end": 6,
233+
"loc": Object {
234+
"end": Object {
235+
"column": 7,
236+
"line": 1,
237+
"offset": 6,
238+
},
239+
"start": Object {
240+
"column": 1,
241+
"line": 1,
242+
"offset": 0,
243+
},
244+
},
245+
"start": 0,
246+
"type": 3,
247+
"value": "hello ",
248+
},
249+
Object {
250+
"end": 9,
251+
"index": 0,
252+
"loc": Object {
253+
"end": Object {
254+
"column": 10,
255+
"line": 1,
256+
"offset": 9,
257+
},
258+
"start": Object {
259+
"column": 7,
260+
"line": 1,
261+
"offset": 6,
262+
},
263+
},
264+
"start": 6,
265+
"type": 5,
266+
},
267+
Object {
268+
"end": 11,
269+
"loc": Object {
270+
"end": Object {
271+
"column": 12,
272+
"line": 1,
273+
"offset": 11,
274+
},
275+
"start": Object {
276+
"column": 10,
277+
"line": 1,
278+
"offset": 9,
279+
},
280+
},
281+
"start": 9,
282+
"type": 3,
283+
"value": " !",
284+
},
285+
],
286+
"loc": Object {
287+
"end": Object {
288+
"column": 12,
289+
"line": 1,
290+
"offset": 11,
291+
},
292+
"start": Object {
293+
"column": 1,
294+
"line": 1,
295+
"offset": 0,
296+
},
297+
},
298+
"start": 0,
299+
"type": 2,
300+
},
301+
"end": 11,
302+
"loc": Object {
303+
"end": Object {
304+
"column": 12,
305+
"line": 1,
306+
"offset": 11,
307+
},
308+
"start": Object {
309+
"column": 1,
310+
"line": 1,
311+
"offset": 0,
312+
},
313+
},
314+
"start": 0,
315+
"type": 0,
316+
}
317+
`;
318+
226319
exports[`parse: named 1`] = `
227320
Object {
228321
"body": Object {

0 commit comments

Comments
 (0)