Timothy Gu
5249b9d809
Remove ES2015 tests than do not parse in ES2016 ( #4501 )
...
These tests are originally from Traceur, which does not fully support
ES2016.
See babel/babylon#106 for a rationale why these code blocks are not
valid ES2016.
2016-09-11 21:58:38 -04:00
Henry Zhu
ee1eb59077
Latest tests ( #3674 )
...
* add preset-latest tests
* test for es2015-preset spec option
2016-08-23 18:29:40 -04:00
Diogo Franco
1e6257bdcb
Fixes modules test to actually test modules ( #3672 )
...
* Fixes modules test to actually test modules
It is a mystery how these tests ever passed before.
* Correct test -> suite
2016-08-23 14:06:02 -04:00
Brian Donovan
a1c0b5a118
Update test name to reflect reality. ( #3640 )
...
Originally pointed out by @Kovensky in https://github.com/babel/babel/pull/3635#discussion_r73652441 .
2016-08-05 10:12:33 -04:00
Henry Zhu
7213e57ee2
add tests, be able to pass preset options to test helper
2016-08-05 09:36:52 -04:00
Logan Smyth
66317b10db
Fix backward-compatibility of babel-preset-es2015 - fixes T7536
2016-08-04 20:55:20 -07:00
Henry Zhu
c6354a2132
es2015: transpile the preset, modify modules option to support "amd,umd,systemjs" as well, tests ( #3627 )
...
* es2015: transpile the preset, at spec option
* es2015: add support for modules option
* fixes + tests
* fixup preset error messsage
* es2015: update readme [skip ci]
* pass loose to other module transforms
2016-08-04 17:54:04 -04:00
Jordan Klassen
dc1f40540d
Upgrade to lodash 4 ( #3315 )
...
* Upgrade to lodash 4
* Fix incorrect require in babel-runtime/scripts
* Replace cloneDeep with cloneDeepWith where applicable
2016-05-13 17:15:14 -04:00
Amjad Masad
a17d62ca2b
Convert the constants transform plugin to a validation plugin
...
A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
2015-11-11 10:45:31 -08:00
Sebastian McKenzie
5f40b53dee
abstract out test runner into a module, move traceur and esnext tests to babel-preset-es2015, clean up and make existing tests more consistent
2015-11-08 21:58:01 -08:00