Open bbrock25 opened 7 years ago
FWIW, I've seen a lot of support being poured into Jest. Also, the whole mocha ecosystem feels weird since you need so many deps just to make an assertion.
There's Enzyme
as well.
Here's a maybe nice blog post: https://medium.com/@ferrannp/unit-testing-with-jest-redux-async-actions-fetch-9054ca28cdcd#.hqj2w9n4w
What do we want to use for testing? Mocha, jest, I dunno...
I've had decent results testing the modules using mocha, maybe we could stick with that for the redux stuff and then do some view layer tests with Jest?
The last time I tried to set up Jest on react native, it was super busted. Allegedly, they're supporting it now.