How to Test React Components using Jest and Enzyme

added by JavaScript Kicks
9/27/2018 7:08:17 AM


Click here to go to the repo and branch. If you'd like to go straight into testing, please go to section 2 of this blog post. As you can see the app is simple. It has a header, an input field which takes the query and based on that calls to the Guardian API and returns the results of related articles in a list format.