November 2017
Intermediate to advanced
110 pages
1h 20m
English
In this tutorial, we'll take a look at using Jest – a testing framework maintained by Facebook – to test our ReactJS components. We'll look at how we can use Jest first on plain JavaScript functions, before looking at some of the features it provides out of the box specifically aimed at making testing React apps easier. It's worth noting that Jest isn't aimed specifically at React: you can use it to test any JavaScript applications. However, a couple of the features it provides come in really handy for testing user interfaces, which is why it's a great fit with React.
Before we can test anything, we need an application to test! Staying true to web development ...
Read now
Unlock full access