bahmutov / was-tested

JavaScript code coverage proxy
MIT License
16 stars 0 forks source link

Source maps #10

Open bahmutov opened 9 years ago

bahmutov commented 9 years ago

Add source maps that allow debugging instrumented code

bahmutov commented 8 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

jeremysmartt commented 6 years ago

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