7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial

Next lesson playing in 5 seconds

Cancel

Unit Testing React Components

Introduction

00:52

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.

We've built comprehensive guides to help you learn JavaScript and React, whether you're just getting started or you want to explore more advanced topics.

1.Introduction
1 lesson, 00:52

1.1
Introduction
00:52

2.Unit Testing React Components
4 lessons, 24:36

2.1
Setup
05:07

2.2
Write a Test
05:34

2.3
Shallow vs. Static Testing
08:23

2.4
Full DOM Rendering Tests
05:32

3.Conclusion
1 lesson, 00:29

3.1
Conclusion
00:29