You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
In Jest 27 the helper jest.addMatchers has been removed. Instead it is recommended to use expect.extend which is not compatible with jest-jquery-matchers. As far as I understand comperator can be simply removed to get proper matchers.
The text was updated successfully, but these errors were encountered:
Yes, the PR would be very similar to unindented/custom-immutable-matchers#44. Unfortunately, I am not able to run the project, i.e. npm install fails and so far no luck to fix it.
Therefore, I can provide a blind PR, and maybe you can try your luck assuming you know best how run it.
However, my workaround is to extract the compare functions. For example in a jest.setup.js file.
In Jest 27 the helper
jest.addMatchers
has been removed. Instead it is recommended to useexpect.extend
which is not compatible with jest-jquery-matchers. As far as I understandcomperator
can be simply removed to get proper matchers.The text was updated successfully, but these errors were encountered: