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

100% in branching is not achieved in istanbul code coverage #7048

Closed
RoopanV opened this issue Jul 19, 2017 · 3 comments
Closed

100% in branching is not achieved in istanbul code coverage #7048

RoopanV opened this issue Jul 19, 2017 · 3 comments

Comments

@RoopanV
Copy link

RoopanV commented Jul 19, 2017

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

"@angular/animations": "^4.0.0",
"@angular/common": "^4.0.0",
"@angular/compiler": "^4.0.0",
"@angular/core": "^4.0.0",
"@angular/forms": "^4.0.0",
"@angular/http": "^4.0.0",
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"bootstrap": "^3.3.7",
"core-js": "^2.4.1",
"jquery": "^3.2.1",
"ng2-datetime": "^1.4.0",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"

Repro steps.

When i am running ng test --code-coverage i am not getting branches covered 100% because of not covering constructor fully.

The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

@devoto13
Copy link
Contributor

Possible duplicate of #5526.

@devoto13 devoto13 marked this as a duplicate of #5526 Jul 19, 2017
@filipesilva
Copy link
Contributor

Closing as per @devoto13's comment.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants