-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
is ":not" selector not supported? #456
Comments
You can see enzyme is supporting CSS selectors in the following. https://github.com/airbnb/enzyme/blob/master/docs/api/selector.md#1-a-valid-css-selector |
We'd gladly accept a PR if you were wanting to add support for the |
I'm giving it a try, I'll ley you know soon of my progress! |
I've sent the pull request. Can you check it? |
This was added in #460. |
Looks like the PR referenced above ended up getting closed rather than merged. For anyone else ending up here from Google, here's the documentation for the implemented solution: |
What I understand is that ":not" is a css selector to find an element without specified attribute.
So, with this component:
But why this is happening?
The text was updated successfully, but these errors were encountered: