Open bahmutov opened 9 years ago
Need good example with several source files going into single bundle, then running on the website and the result coverage split back into the original sources
First, Very cool way to do e2e code coverage
Secondly, we extended was-tested to support source maps. In particular for Angular and Typescript, but should work with anything. Using the https://github.com/SitePen/remap-istanbul package to map the transcompiled javascript back to the original Typescript files. You can see it in action here:
https://github.com/Teradata/covalent-tools/tree/develop/covalent-e2e-coverage
Add source maps that allow debugging instrumented code