prettier/tests/flow/predicates-declared
Christopher Chedeau 3b66af3d60 Remove the concept of globalPrecedingNode (#561)
The original motivation for this change is trying to fix #560 where the comment was attached to the JSXText node instead of the JSXExpressionContainer because it used the globalPrecedingNode. In general, I don't think that it is very safe to attach a comment to a random node just because it happened to be before.

I tried to delete the globalPrecedingNode codepath and I think that it actually improves the results. I'll add inline comments in the pull request to explain the various changes.

Fixes #560
2017-02-03 13:56:06 -08:00
..
__snapshots__ Remove the concept of globalPrecedingNode (#561) 2017-02-03 13:56:06 -08:00
function-bind.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
function-union.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
is-string-decl.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
jsfmt.spec.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
logical-or.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
object-invariant.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
orig-string-tag-check.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-fall-through.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-invalid-calls.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-is-string-bug.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-parameter-mismatch.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-pred-with-body.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
sanity-return-type.js Move tests around (#454) 2017-01-24 14:35:37 -08:00