Brian Ng
d608b7ba28
Bump Babylon and enable additional tests ( #1668 )
2017-05-22 15:31:53 -07:00
Simon Lydell
bc5186e544
Run Prettier on all source files ( #1648 )
...
This commit updates `npm run format:all` to not only format .js files in
src/ and bin/, but also tests_config/ and scripts/, as well as all
jsfmt.spec.js files.
It also includes the result of running `npm run format:all`, except
changes to src/ and bin/.
2017-05-21 08:13:11 -07:00
Brian Ng
ccf509abb6
Fix empty line with flow union ( #1511 )
2017-05-04 19:06:30 -07:00
Brian Ng
9c826c2ed5
Inline nullable in flow generics ( #1426 )
2017-04-26 09:27:06 -07:00
Brian Ng
c0a0bf46bc
Fix missing trailing commas on flow generics ( #1381 )
2017-04-21 13:57:21 -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
a502bf9f45
Add ability for flow generics to break ( #1041 )
...
While looking at an instability on the React codebase ( https://github.com/sebmarkbage/react/commit/ba1299acc2c3b66ec1e093c201bcede421a8caa0#diff-2550aa3d377452ae29361f5e53c51c10 ), I realized that we don't let them break which makes the code look weird.
So I added the ability for them to break :)
2017-03-20 12:35:30 -04:00