-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
containsMatchingElement #85
Comments
sweet. any suggestions for the dsl? |
Seems like it is matchesElement and containsMatchingElement now. So how about |
From reading the documentation
@lelandrichardson @ljharb what are your thoughts on the |
It seems like it'd be simplier to do |
maybe |
This would be great! If no one is working on it, I may try to take a stab at it this weekend -- came looking for this feature and found this existing issue. |
@sherwinyu feel free to start an implementation, this is def. something we will accept as a PR. I currently like @benjamine's suggestion the most |
I'm new to enzyme and i just found that really want to use containMatchingElement in order to avoid restriction of getting exactly the same tag with all attributes in order to match with the one i expecting. Glad that you are considering this feature, is there any idea of when this will be implemented or someone is actually working on it ? Thanks! |
@Drasky-Vanderhoff no work has been started as far as I know, I also don't have a timeline as to when someone will start working on this |
Hi. Is the |
We should consider adding loose equals and loose contain assertions, these were recently intro'd in [email protected], specifically in this PR.
The text was updated successfully, but these errors were encountered: