Daniel Tschinder
df7311a7f3
Add parens around all string literals at top level ( #1999 )
2017-06-06 08:24:13 -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
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
443a5d6d66
Properly support `do` ( #811 )
...
The code that supported `do` was likely from some recast time and didn't work anymore.
2017-02-27 10:49:08 -05:00