gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 785 forks source link

use babel-core instead of esprima #347

Open jonathanong opened 9 years ago

jonathanong commented 9 years ago

esprima's momentum is slow, and babel supports ES6+

see https://github.com/facebook/esprima/issues/111

closes a bunch of issues complaining about es6+

fengmk2 commented 9 years ago

+1 for this

ghost commented 9 years ago

Nice! I used Espree as a quick-and-dirty replacement for local development. Babel uses the same common AST format as Esprima and Espree, right?

stefanpenner commented 9 years ago

+100

davidporter-id-au commented 9 years ago

+1

stefanpenner commented 9 years ago

@kitcambridge yes but with the latest syntax

ariya commented 9 years ago

We prefer slow and steady :-) JFYI, if someone cares, ES6 support for Esprima 2.x is tracked at https://github.com/jquery/esprima/issues/1099.

jonathanong commented 9 years ago

just discovered https://github.com/ambitioninc/babel-istanbul

iamstarkov commented 9 years ago

We prefer slow and steady :-)

wait… but why?

ldunca commented 7 years ago

+1

popomore commented 7 years ago

You can use nyc now