Search code examples
polymerkarma-runnercode-coveragekarma-coveragewct

How to measure common coverage for Polymer components + .js files?


How to measure common coverage for Polymer components with all .js files in solution (for non-component tests QUnit is used)?

I tried karma-coverage, but it works only for .js files.


Solution

  • For Polymer components there is a solution to measure common coverage with karma-coverage: split to .js files and include it to components. Example is here