karma-runner / karma-runner/karma-coverage
All errors fail at line #9 with karma-coverage enabled
Open
type: bug-upstream
- Dominant language
- JavaScript
- Stars
- 771
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
I've noticed with karma-coverage enabled all jasmine errors always point to line #9 due to parsing the istanbul minified code and reporting the error from there rather than the original source code.
```
Error: Expected 'ctrl-states: favorites' not to be 'ctrl-states: default'.
at null. (/Volumes/Site/State.ctrl.spec.js:9:2110)
```
The only way around this is to disable coverage whenever I need to debug where an error is failing in the controller. Is there any way around this or has some one worked out a solve? I've been unable to track one down on my own. Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.