/unit-testing-react-components

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Instructor: Andrew Burgess

React is a very popular library, so you can find courses all over the web that will teach you how to use it's 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.

Source Files Description

This repository contains the completed course project—a simple React application and some unit tests for its components. To follow along with the course, simply clone this repository and delete the existing test folder.


These are source files for the Tuts+ course: Unit Testing React Components

Available on Tuts+. Teaching skills to millions worldwide.