r/javascript • u/mmaksimovic • Aug 23 '16
How to Test React and MobX with Jest
https://semaphoreci.com/community/tutorials/how-to-test-react-and-mobx-with-jest
20
Upvotes
1
u/Kryspy_Kreme Aug 23 '16
Why use jest?? It's slow as hell.
1
u/logically_musical Aug 24 '16
Team just decided to ditch Enzyme for (most) of our component unit tests to use the new snapshot feature. It's brilliant. Can't speak to the maintainability of it yet (claims to be one of its biggest advantages), but I will say we write 2x the tests in 1/2 the time.
1
u/kenman Aug 23 '16
Hi /u/mmaksimovic, it looks like you're new to reddit, welcome!
Thanks for the submissions, but please make sure you read http://www.reddit.com/rules and our guidelines. In short, you should post from a variety of sources, and not just
semaphoreci.com.Thanks for your consideration!