Polymer Coverage with WCT

I have an application developed in Polymer and unit testing with WCT. I want to generate a code coverage report for this.

I tried to use istanbul (web-component-tester-istanbul)

but it doesn't support it, I am using Polymer version 1.2


And I tried with Karma + Grunt but I cannot split the code coverage report.

Can anyone tell me how we can generate code with karma? I search on google but cannot find WCT with karma.


source to share

1 answer

You can use the modified version for now until the original Istanbul is installed to work with Polymer. wct-Istanbub



All Articles