52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
|
|
exports[`prints information for debugging comment attachment with --debug-print-comments 1`] = `
|
|
{
|
|
"stdout": "[
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 1 ",
|
|
"start": 0,
|
|
"end": 7,
|
|
"loc": {
|
|
"start": { "line": 1, "column": 0, "index": 0 },
|
|
"end": { "line": 1, "column": 7, "index": 7 }
|
|
},
|
|
"placement": "endOfLine",
|
|
"leading": true,
|
|
"trailing": false,
|
|
"nodeDescription": "ExpressionStatement"
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": " 2 ",
|
|
"start": 24,
|
|
"end": 31,
|
|
"loc": {
|
|
"start": { "line": 2, "column": 16, "index": 24 },
|
|
"end": { "line": 2, "column": 23, "index": 31 }
|
|
},
|
|
"placement": "remaining",
|
|
"leading": false,
|
|
"trailing": true,
|
|
"nodeDescription": "Identifier foo"
|
|
},
|
|
{
|
|
"type": "CommentLine",
|
|
"value": " 3",
|
|
"start": 34,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": { "line": 2, "column": 26, "index": 34 },
|
|
"end": { "line": 2, "column": 30, "index": 38 }
|
|
},
|
|
"placement": "remaining",
|
|
"leading": false,
|
|
"trailing": true,
|
|
"nodeDescription": "ExpressionStatement"
|
|
}
|
|
]",
|
|
"write": [],
|
|
}
|
|
`;
|