De-mystifying Jest Snapshot Test Mocks

10 Apr, 2017
Xebia Background Header Wave

So, let’s say you have a nice React Native setup with the Jest testing library. You want to snapshot-test all your components of course! But you’re getting seemingly unrelated errors when you tried to mock a third party module in your snapshots and you’re lost in all that API documentation. Let’s dig into an example and get a clear picture of what’s happening under the hood.
Read more


Get in touch with us to learn more about the subject and related solutions

Explore related posts