valotas / karma-parcel

Karma with Parcel bundler
MIT License
6 stars 2 forks source link

Supporting code coverage #23

Closed pcaixeta closed 3 years ago

pcaixeta commented 3 years ago

I'm starting this more like a question because I haven't found anything about it around the internet: Is it possible to add code coverage with karma-parcel?

This is an amazing tool, thank you for it, it was very simple to get my tests up and running with Typescript and web components, but I'm having a hard time adding the code coverage report. =(

valotas commented 3 years ago

Hi @pcaixeta thanks a lot for the interest. Unfortunately I did not spend time on it.

pcaixeta commented 3 years ago

Oh =( Is it on your roadmap?

valotas commented 3 years ago

Well, instrumenting code created by parcel is definitely not in scope of this project. Maybe you can have a look at how to configure parcel with babel-plugin-istanbul