-
Notifications
You must be signed in to change notification settings - Fork 242
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
[no-standalone-expect]: false positive on expect.<method>()
#1186
Comments
expect.addSnapshotSerializer
Per my comment here, I think we should probably change |
expect.addSnapshotSerializer
expect.<method>()
I'm going to change the logic tomorrow to what I said in my last comment - I should be able to get this landed tomorrow morning (NZST) |
Saw the same behaviour for |
🎉 This issue has been resolved in version 26.8.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hey, I received an update with the latest version 26.8.0 (adeira/universe#4859); however, it seems to be throwing false errors:
To my knowledge,
addSnapshotSerializer
should be outside of the test block (see: https://jestjs.io/docs/expect#expectaddsnapshotserializerserializer). Is my code wrong? Is this a bug in the latest release? 🤔Thanks for having a look! 😎
The text was updated successfully, but these errors were encountered: