We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function huhu(someValue) { switch (someValue) { case true: const result = 42; return result; default: return 43; } }; huhu(true); huhu(false);
Execute with
npx c8 node huhu.js
Reported coverage:
If i omit the const declaration and just return 42; the coverage is 100%. Expectation is to have 100% coverage for the above snippet.
The text was updated successfully, but these errors were encountered:
I have the exact same issue covering this function:
https://gitlab.com/eric.morand/twing/-/blob/one-hundred/src/lib/parser.ts?ref_type=heads#L348
Sorry, something went wrong.
No branches or pull requests
Execute with
Reported coverage:
If i omit the const declaration and just return 42; the coverage is 100%.
Expectation is to have 100% coverage for the above snippet.
The text was updated successfully, but these errors were encountered: