Learning to test React Native with Jest — part 1
Jason Gaare

Thanks for writing this up.

I use enzyme-to-jest to test enzyme dom trees as snapshots but using jest-serializer-enzyme seems simpler.

And also for connected components I do export every one of them to test.

It is much better to mock states by using redux-mock-store.

As everything in React changes so fast this kind of articles really helps.


One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.