Blog

De-mystifying Jest Snapshot Test Mocks

10 Apr, 2017

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

guest
0 Comments
Inline Feedbacks
View all comments

Explore related posts