tntim96 / JSCover

JSCover is a JavaScript Code Coverage Tool that measures line, branch and function coverage
GNU General Public License v2.0
399 stars 84 forks source link

Use with ES2015+ #263

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, trying to use JSCover (https://github.com/node-modules/jscover) for my project written with lots of ES2015+ code, getting errors on async, class, import. And because I use rollup bundler (https://github.com/rollup/rollup-plugin-babel#configuring-babel), seems there no way out - rollup demand to not transform ES2015 modules to common-js.

Is it dead end and I can't use JSCover at all? Any support of ES2015+ coming?

tntim96 commented 7 years ago

I don't maintain that project (it looks to be dead) or maintain a node version of JSCover, but I'm interested in writing one.

ghost commented 7 years ago

We found that currently to create .lcov reports people using Istambul lib https://istanbul.js.org/ It can be used wtih ES2015+.

tntim96 commented 7 years ago

Sure