Open andrewl-telnyx opened 6 years ago
I see they have separate branch that fixes this problem: https://github.com/gotwarlost/istanbul/commit/4a5e92c1261bd08ce5118d01c8a05ae54fc7458b Pretty old but not merged for some reason?
There are 2 PR opened that fix the issue but this project doesn't seem to be maintained anymore.
I have forked it and linking fork in my projects:
https://github.com/Xesenix/istanbul
and in projects:
npm i -D github:Xesenix/istanbul
@gotwarlost
not entirely sure if this is an issue with istanbul directly or karma-coverage, but i think it's an istanbul thing:
the problem is:
i guess it assumes structuredText[startLine] is always going to be a thing, and apparently at least once it is not a thing? I don't know how i can reproduce it but it appears every time we run karma with the coverage reporter. I created this issue with them. let me know what else i can provide to help y'all see the problem