-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
add toMatchElement matcher #95
add toMatchElement matcher #95
Conversation
Few thoughts here:
|
Also, 3.2.0 is out with most of your fixes! |
Nice, thanks! Okay, I can look into making this work for mount. For 2, looks like you already cut the release, so it's okay - yeah, this is not related to the other fixes, but is just adding new API. For 3, I understand your concern. It also makes me nervous to depend on implementation detail of Enzyme's |
3e2ad19
to
ec932d9
Compare
@blainekasten updated to work with mount, and rebased against latest master. |
See enzymejs/enzyme#961, an attempt to allow ignoring props in the debug() output in enzyme. This also adds options to enzyme's debug(), which should enable a backwards-compatible codepath for enzyme-matchers to depend on this API even if the implementation/output of debug() changes for the default behavior when no options are specified. |
Sweet. This is cool man. Sorry for the delay. Just got back from a long vacation! Can you rebase and get the build passing? Then trim your commits down to a single commit? Thanks! |
ec932d9
to
3a6392f
Compare
@blainekasten Welcome back! Sounds good - squashed and rebased. Let's see if the build passes. |
@blainekasten looks like there's an issue reporting status from CI |
3a6392f
to
d00360b
Compare
@finnigantime I fixed it. So hopefully it'll work now |
Thanks so much! |
Awesome, thank you! 👍 |
Implements .toMatchElement(), which addresses #37.
Example usage:
Example failure message:
Notes: