react-webpack-generators / generator-react-webpack

Yeoman generator for ReactJS and Webpack
http://newtriks.com/2013/12/31/automating-react-with-yeoman-and-grunt/
MIT License
2.87k stars 356 forks source link

Coverage report #158

Closed camjc closed 9 years ago

camjc commented 9 years ago

Being able to see code coverage is a minimum requirement for many projects, and since this generator sets up testing for you it would be great if it would give you a coverage report too.

camjc commented 9 years ago

I managed to set it up in my project in this PR https://github.com/Adslot/alexandria/pull/9/files

Haven't been able to get it to output the ES2015 code in the coverage html though.

weblogixx commented 9 years ago

@camjc: Yes, currently the support is missing. Did not even think about it :(. Thanks for the request, will add it in one of the later versions of the generator.

weblogixx commented 9 years ago

@camjs: Support is now integrated with the release of react-webpack-template 0.3.2. Please update the generator so it can fetch the new version. New projects should then always include coverage reports. Thanks again for the hint :)