I am currently using wct-istanbub to measure code coverage on Polymer components written using TypeScript. This works well with the drawback that it is measured on the JavaScript files instead of the TypeScript sources.
This change checks for a sourceMappingUrl comment on the file and loads it if possible so that the result can be mapped to the source files.
I am currently using wct-istanbub to measure code coverage on Polymer components written using TypeScript. This works well with the drawback that it is measured on the JavaScript files instead of the TypeScript sources.
This change checks for a sourceMappingUrl comment on the file and loads it if possible so that the result can be mapped to the source files.