jgodi / angular2-fullstack-starter

Angular2 Full Stack with ES6, Webpack, Express, Node, Karma, Protractor, ESLint
33 stars 12 forks source link

Code Coverage Reporting #3

Open jgodi opened 8 years ago

jgodi commented 8 years ago

Add the ability to report the code coverage and make the code coverage percentage go off the ES6/TS code if possible.

xiehan commented 8 years ago

If you get this working, could you give me a ping? I've got the same setup as you (Angular2 + Webpack + ES6 but not TS + Babel) and have not been able to get it working, nor have I found anyone else with this setup who's been able to get it to work.

jgodi commented 8 years ago

Yes. I have it working for the webpack version. I will make sure this is updated and shows it.

jgodi commented 8 years ago

I dont have the code anymore (we swapped from using webpack). But I just used the https://www.npmjs.com/package/istanbul-instrumenter-loader, inside the karma.conf.