prettier/tests/arrows
Christopher Chedeau 449bc41316 Use expandLast for nested arrow functions (#1720)
We don't always want to automatically forward this option but we can always forward it to `n.body`. If it's an arrow function, it's doing the intended behavior, otherwise, it's not going to ignore it and not forward it. What we don't want is for arrow -> blockStatement -> arrow to get it, but we're good.

Fixes #1652
2017-05-24 18:19:07 -07:00
..
__snapshots__ Use expandLast for nested arrow functions (#1720) 2017-05-24 18:19:07 -07:00
arrow_function_expression.js Add parentheses for assignment as body of arrow (#1326) 2017-04-18 13:28:33 -07:00
block_like.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
call.js Use expandLast for nested arrow functions (#1720) 2017-05-24 18:19:07 -07:00
comment.js Do not inline arrow when argument has a leading comment (#1660) 2017-05-22 09:40:19 -04:00
currying.js Add support for currying (#1066) 2017-03-22 13:33:28 -07:00
jsfmt.spec.js Feature/verify against same snapshot (#1087) 2017-03-25 08:10:17 -07:00
long-call-no-args.js Fix comma when an arrow function with no arguments breaks (#210) 2017-01-14 23:55:38 -05:00
long-contents.js Simplify arrow functions that use blocks (fixes #268) (#496) 2017-01-27 13:39:17 -05:00
short_body.js Put short body of arrow functions on the same line (#829) 2017-02-27 17:18:43 -05:00