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
no-conditional-expect
.each()()
i.e
it.each()(foo', () => { something || expect(something).toHaveBeenCalled(); })
and other conditional variants don't trigger no-conditional-expect.
This'll be because the way we track if we're in a test case or not based on CallExpression nodes.
CallExpression
I expect it'll be fixed by the refactor I described here, which'll change the node we return true on.
true
The text was updated successfully, but these errors were encountered:
.each
🎉 This issue has been resolved in version 24.3.6 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
G-Rath
Successfully merging a pull request may close this issue.
i.e
and other conditional variants don't trigger
no-conditional-expect
.This'll be because the way we track if we're in a test case or not based on
CallExpression
nodes.I expect it'll be fixed by the refactor I described here, which'll change the node we return
true
on.The text was updated successfully, but these errors were encountered: