prettier/tests/range
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
class-declaration.js Add module, class and typed nodes to sourceElements (#2266) 2017-06-25 09:07:52 -07:00
different-levels.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
function-declaration.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
ignore-indentation.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
jsfmt.spec.js Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
module-export1.js Add module, class and typed nodes to sourceElements (#2266) 2017-06-25 09:07:52 -07:00
module-export2.js Add module, class and typed nodes to sourceElements (#2266) 2017-06-25 09:07:52 -07:00
module-export3.js Add module, class and typed nodes to sourceElements (#2266) 2017-06-25 09:07:52 -07:00
module-import.js Add module, class and typed nodes to sourceElements (#2266) 2017-06-25 09:07:52 -07:00
multiple-statements.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
multiple-statements2.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
nested.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
nested2.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
nested3.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
object-expression.js Split source elements relative to their language. (#3069) 2017-10-22 20:04:06 +11:00
object-expression2.js Split source elements relative to their language. (#3069) 2017-10-22 20:04:06 +11:00
range-end.js Range Formatter: Remove Program/File from valid Ancestor (#2248) 2017-06-24 12:30:27 -04:00
range-start.js Range Formatter: Remove Program/File from valid Ancestor (#2248) 2017-06-24 12:30:27 -04:00
range.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
try-catch.js Find nearest node when formatting range (#1659) 2017-05-23 07:43:58 -07:00
whitespace.js Return original input when specified range is unformattable (#2250) 2017-06-24 09:41:10 -07:00