There are a few other useful tricks that will help organise your testing that I feel worth mentioning and not immediately clear. Ideally when you are completing a number of tests on a single function you can group these tests under a single describe() statement. This provides another opportunity the add some description of what … Continue reading Testing a React app with Jest (Part 2)
Tag: Testing
Testing a React app with Jest (Part 1)
This post is going to provide an introduction to the basics of Jest a javascript testing framework that is included in the Create-React-App, which if you haven't heard of is a great starting point for your new React App. Jest provides all the functionality required to set up unit tests for your javascript application. This … Continue reading Testing a React app with Jest (Part 1)