Christopher Chedeau
9a93822bbc
Use the same breaking rules for assignment and object values ( #1721 )
...
Fixes #1417
Fixes #1604
2017-05-24 18:19:15 -07:00
Jan Kassens
b82220b20f
Prittier printing of snapshots ( #1190 )
...
This uses a custom snapshot serializer to reduce escaping in snapshot files and
make them easier to read.
Snapshot serializers are documented here:
https://facebook.github.io/jest/docs/configuration.html#snapshotserializers-array-string
2017-04-12 13:41:51 -07:00
Lucas Duailibe
69879e23bc
Print comment after key ( #1131 )
2017-04-05 13:10:10 -07:00
Christopher Chedeau
c3199359b0
Revert "Improve snapshot naming" ( #1070 )
...
* Revert "Remove mutation in `printBinaryishExpressions` (#1067 )"
This reverts commit e7312ad7b2
.
* Revert "Make it clear what parser was used in each snapshot (#1068 )"
This reverts commit 4f7ae4815b
.
2017-03-21 17:38:28 -07:00
ChristianHersevoort
4f7ae4815b
Make it clear what parser was used in each snapshot ( #1068 )
2017-03-21 14:47:23 -07:00
Christopher Chedeau
35bd29be2c
Stabilize comment after object label ( #958 )
...
This is the largest firing unstability on the Facebook codebase.
Fixes #906
2017-03-09 07:55:35 -08:00