FREELessons: 6Length: 26 minutes
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.
1.Introduction1 lesson, 00:52
1 lesson, 00:52
2.Unit Testing React Components4 lessons, 24:36
4 lessons, 24:36
2.2Write a Test05:34
Write a Test
2.3Shallow vs. Static Testing08:23
Shallow vs. Static Testing
2.4Full DOM Rendering Tests05:32
Full DOM Rendering Tests
3.Conclusion1 lesson, 00:29
1 lesson, 00:29