prettier/tests/require-pragma/json/__snapshots__/jsfmt.spec.js.snap

41 lines
1.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`format-anyway.json 1`] = `
====================================options=====================================
parsers: ["json"]
printWidth: 80
requirePragma: true
| printWidth
=====================================input======================================
{"allOn": "Single", "Line": "example",
"noSpace":true,
"quote": {
"singleQuote": "example",
"indented": true,
},
"phoneNumbers": [
{"type": "home",
"number": "212 555-1234"},
{"type": "office",
"trailing": "commas by accident"},
],
}
=====================================output=====================================
{
"allOn": "Single",
"Line": "example",
"noSpace": true,
"quote": {
"singleQuote": "example",
"indented": true
},
"phoneNumbers": [
{ "type": "home", "number": "212 555-1234" },
{ "type": "office", "trailing": "commas by accident" }
]
}
================================================================================
`;