Chutzpah is currently able to identify a generated source file from its original source, but not to map between the two files line-by-line.
Obviously this is pretty minor, but it's something I may need for integration with Sonarqube so I'm opening this to have something to submit against!
A very quick spike shows it's possible for TypeScript at least:
Works via a library I threw together to parse source maps. Only does line-level coverage though - testing minified files would still trip everything up.
That is awesome. I agree this is a minor issue but it would really tie together the code coverage functionality for coffeescript/typescript
I've tidied up my spike with what will hopefully become a PR at some point but will run it against a 'proper' TypeScript application once I'm back in work before doing so to make sure it'll minimally do what I need it to! However, it's there for review or playing about with should anyone be interested.
PR created: #316