-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
fix(matcher-utils): correct diff for expect asymmetric matchers #12264
Conversation
) { | ||
return false; | ||
} | ||
|
||
if ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems odd to me to remove the check for expectedType
, but not receivedType
? Although I guess passing an asymmetric matcher as received
is weird, so maybe not
There appears to be a couple of failing tests on main not coming from this change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI is not happy , i think this is due to this change
The same failures are on main, unrelated to my change afaik |
All tests are failing, that's not happening on |
0997a1f
to
7652055
Compare
I've rebased from main and I get these failing tests on my branch and main locally:
|
Thanks for resolving. |
7652055
to
61a4a74
Compare
🤦♂️ I wasn't building locally |
Haha, that happens 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Ah it looks like my CHANGELOG change got clobbered. Shall I open a separate PR for it? |
yes please! |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes #10276 - I've applied @SamLee's suggestion
Problem:
Test plan
Before
After