tntim96/JSCover

Use with ES2015+

Closed this issue · 3 comments

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?

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.

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

Sure