prettier/tests/ternaries
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
binary.js Handle conditions inside of a ternary (#2228) 2017-06-21 18:17:30 -07:00
func-call.js Fix ternary format in function call (#4368) 2018-08-15 13:29:04 -04:00
indent.js Print nested ternaries differently (#5039) 2018-10-14 12:45:37 -03:00
jsfmt.spec.js fix(javascript): indentation for sub-ternaries (#3747) 2018-01-16 11:32:25 +08:00
nested.js fix(javascript): no regression for ternary#test alignment (#5333) 2018-11-05 17:07:57 +08:00
parenthesis.js Only add parenthesis on ternaries inside of arrow functions if doesn't break (#1450) 2017-05-01 14:32:52 -07:00
test.js Indent ternaries (#484) 2017-01-26 11:58:40 -08:00