Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating html report after merging coverage information #13

Closed
VladyslavKurmaz opened this issue Nov 15, 2018 · 2 comments
Closed

Generating html report after merging coverage information #13

VladyslavKurmaz opened this issue Nov 15, 2018 · 2 comments

Comments

@VladyslavKurmaz
Copy link

I've started seeing this issue a couple days ago. A week ago everything worked smoothly. Looks like our js source code was changed and somehow uncovered this bug.

    "istanbul": "^0.4.5",
    "istanbul-combine": "^0.3.0"

We are combining coverage from a set of files. Looks like calculation is fine, but the report generation is failed

=============================== Coverage summary ===============================
Statements   : 29.37% ( 1614/5496 )
Branches     : 9.96% ( 442/4436 )
Functions    : 28.57% ( 932/3262 )
Lines        : 30.26% ( 1276/4217 )
================================================================================
node_modules/istanbul-combine/node_modules/istanbul/lib/report/html.js:283
                    text = structuredText[startLine].text;

Another possible reason can be that we switched from angulajs-1.7.0 to angularjs-1.7.3 a month ago

gotwarlost/istanbul#817

@VladyslavKurmaz
Copy link
Author

Please close the issue, the root cause was with synchronization between source code and coverage information.

@ns89-web
Copy link

Please close the issue, the root cause was with synchronization between source code and coverage information.

I am facing similar issues, can you please explain how you fixed this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants