-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[Bug]: Jest coverage is reporting a line as untested #13627
Comments
I didn't know which package introduced this so I also filed this istanbuljs/istanbuljs#707 |
Did you find a solution? |
No sir, just put P.S. I hand typed this comment from my phone |
Hey, thanks for answering, but my issue was regarding an nx/Angular project, so a case different from yours. I found the solution here |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Any update on this ? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
28.1.3
Steps to reproduce
Steps:
npm run test:cov
Expected behavior
Should get
100%
coverageActual behavior
It's reporting
85.71%
because of an attribute@Query(() => String)
Additional context
If you look at this file and delete the attribute parameter to
@Query()
you will get 100% coverage but the project will not work.Environment
The text was updated successfully, but these errors were encountered: