-
Notifications
You must be signed in to change notification settings - Fork 230
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
[prefer-expect-assertions] Doesn't work within .each blocks #676
Comments
G-Rath
added a commit
that referenced
this issue
Mar 21, 2021
G-Rath
added a commit
that referenced
this issue
Apr 2, 2021
🎉 This issue has been resolved in version 24.3.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that the
prefer-expect-assertions
rule does not work if your test is within adescribe.each()
block or if the test itself is atest.each()
. It doesn't detect that there's a lack of anexpect.assertions()
orexpect.hasAssertions()
call at the beginning of the test.The text was updated successfully, but these errors were encountered: