Advanced Unit and Snapshot Testing with React Native

added by JavaScript Kicks
7/11/2019 7:04:00 AM

803 Views

Firstly let's deal with some configuration. Here is the package.json file: One feature of Jest I find really cool is the coverageThreshold object, it allows a high level of reconfigurability with regards to enforcing code coverage. For instance, we set a higher threshold for critical components, in particular ones that are more difficult to debug, such as our Redux related code.


0 comments