istanbuljs / v8-to-istanbul

convert from v8 coverage format to istanbul's format
ISC License
115 stars 40 forks source link

If original code was TypeScript - the library attempts to read the .ts file as well #247

Open kristijanstefanoski opened 7 months ago

kristijanstefanoski commented 7 months ago

I have a TypeScript project which I compile to JavaScript and deploy. It includes source-maps as well, but when I try to apply v8ToIstanbul it fails because it cannot find the .ts file in the src directory - which is not deployed. Is it expected for this library to have both source and compiled code side-by-side? Or it's just the way I am using it? Currently I use it in the simplest way possible: const converter = v8toIstanbul(filePath);

where filePath is the path to the .js file

rwalle commented 6 months ago

Is this the same issue as https://github.com/istanbuljs/v8-to-istanbul/issues/211?