claudiopro / karma-jasmine-coverage-browserify

Karma with Jasmine and coverage boilerplate, with a Browserify build
1 stars 0 forks source link

Code coverage on JSX files is always at 100% #1

Open claudiopro opened 9 years ago

claudiopro commented 9 years ago

Investigating an issue where istanbul reports code parsed by reactify to be always covered at 100%

claudiopro commented 9 years ago

Steps to reproduce:

  1. Clone the repo
  2. Run npm run-script test-single-run
  3. Inspect coverage reports under coverage/
  4. Observe the coverage of js/app/App.jsx is at 100%, although its render() method is never invoked