How to test React components with Jest & Enzyme

1 · Robin Wieruch · July 17, 2019, 11:56 a.m.
This tutorial is part 3 of 3 in the series. Part 1: How to set up React with Webpack and Babel Part 2: How to test React components with Jest In this React testing tutorial, we will introduce Enzyme in our Jest testing environment. Jest is commonly used as test runner – to be able to run your test suites and test cases from the command line with optional configuration – but also to make assertions in your test cases....