Closed s-montigny-desautels closed 2 years ago
If a mock was passed to the calledWith function as an argument, it was falsely detected as a Jest Asymmetric Matcher.
Jest Asymmetric Matcher
This PR change this by using the in keyword, which does not trigger the proxy.
in
A test has been added to demonstrate the new behavior.
If a mock was passed to the calledWith function as an argument, it was falsely detected as a
Jest Asymmetric Matcher
.This PR change this by using the
in
keyword, which does not trigger the proxy.A test has been added to demonstrate the new behavior.