coverage-istanbul-loader icon indicating copy to clipboard operation
coverage-istanbul-loader copied to clipboard

Source maps do not match the right (non-spec) files

Open sroucheray opened this issue 4 years ago • 2 comments

As described in this bug report on the Angular repo, when testing with code-coverage ng test --code-coverage, Devtools do not match the right files (for all non-spec files). So I can add a breakpoint in any *.spec.ts, but then when I step into the tested file the cursor is not at the right position within the file. It also mean I can't add breakpoint in non spec files.

https://github.com/angular/angular-cli/issues/19084#issuecomment-831914261

sroucheray avatar May 07 '21 14:05 sroucheray

I'm also seeing this on an angular 9 project. What's strange is this is one of many projects but this is the only one where we see the issue as far as I know, so I'm still not sure it's the fault of coverage-istanbul-loader.

nathonius avatar Jul 26 '22 12:07 nathonius

Hi @OfficerHalf , @sroucheray so, https://github.com/angular/angular-cli/issues/19084 still can't be resolved? is there any project run well?

jamehui0 avatar Aug 02 '22 14:08 jamehui0