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
It would be awesome to see property matchers like those in jest's snapshot testing. In short, they allow you to specify certain fields to ignore in JSON snapshots
This could be done if the compare function also can change the what, so you could just bring your own compare function that implements property matchers
It would be awesome to see property matchers like those in jest's snapshot testing. In short, they allow you to specify certain fields to ignore in JSON snapshots
e.g. (using jest's snapshots)
linked here is jest's documentation of this feature: https://jestjs.io/docs/en/snapshot-testing#property-matchers
The text was updated successfully, but these errors were encountered: