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
Hello,
const wrongbranch = () => { const a = 2; if (a === 1) { console.log("test"); /* istanbul ignore if */ if (a === 3) { console.log("another test") } } return 3; }
Saying that second if path is not taken, even though first if was not executed
if
However when ignore if is replaced with ignore next it displays properly and calculates branches properly
ignore if
ignore next
const wrongbranch = () => { const a = 2; if (a === 1) { console.log("test"); /* istanbul ignore next */ if (a === 3) { console.log("another test") } } return 3; }
Is this a bug? or it is supposed to be like that?
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Saying that second
if
path is not taken, even though firstif
was not executedHowever when
ignore if
is replaced withignore next
it displays properly and calculates branches properlyIs this a bug? or it is supposed to be like that?
Thank you.
The text was updated successfully, but these errors were encountered: