-
Notifications
You must be signed in to change notification settings - Fork 380
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
toHaveTextContent("") matches element with non-empty content #104
toHaveTextContent("") matches element with non-empty content #104
Comments
|
Is this happening only with the string |
Ah, indeed, it fails to throw for other strings. |
I don't think it should use |
* throw when matching against empty string sugget toBeEmpty fix #104 * allow empty content to match empty string
🎉 This issue has been resolved in version 4.1.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
v3.2.2
The text was updated successfully, but these errors were encountered: