prettier/tests/json
Ika 4af3dd4b07
test: improve snapshots (#5521)
- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
2018-11-25 16:21:14 +08:00
..
__snapshots__ test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
with-comment test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
boolean.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
jsfmt.spec.js feat: support JSON.stringify formatting (#4450) 2018-05-14 09:12:25 +08:00
key-value.json fix(json): do not put values on a separate line from the key (#4852) 2018-07-17 18:08:59 -03:00
multi-line.json Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
null.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
number.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
pass1.json feat: split out JSON5 (#4367) 2018-04-25 22:10:22 +08:00
positive-number.json feat: support JSON.stringify formatting (#4450) 2018-05-14 09:12:25 +08:00
propertyKey.json feat(json): enforce StringLiteral-style property key (#4371) 2018-04-26 00:00:07 +08:00
single-line.json Add JSON support (#2173) 2017-06-17 10:36:42 -10:00
single-quote.json feat: support JSON.stringify formatting (#4450) 2018-05-14 09:12:25 +08:00
string.json JSON: Print trailing newline (#2226) 2017-06-21 15:40:19 -07:00
trailingComma.notjson Force trailingComma option to "none" when parser is JSON (#2335) 2017-06-28 09:29:47 -07:00