1. Code
  2. React

New Course: Unit Testing React Components

Want to know how to unit test React components? Our new short course, Unit Testing React Components, will show you how.

React website

What You’ll Learn

React is a very popular library, so you can find courses all over the web that will teach you how to use its amazing features. However, sometimes testing isn't talked about. React's functional programming model actually makes it easy to unit test components.

In this course, Envato Tuts+ instructor Andrew Burgess will teach you how to unit test your React components. You'll see how to use Enzyme, the Airbnb unit-testing library, which builds on top of React's own testing functionality.

The course walks you through how to get set up and how to write a test, as well as exploring subjects like shallow vs. static testing and full DOM rendering tests.

Watch the Introduction

Take the Course

You can take our new course straight away with a free 10-day trial of our monthly subscription. If you decide to continue, it costs just $15 a month, and you’ll get access to hundreds of courses, with new ones added every week.

Also be sure to check the range of JavaScript items on Envato Market.

Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.