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

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.4 Full DOM Rendering Tests

Finally, we can do full DOM rendering with Enzyme, which will allow components to interact with an actual DOM inside our tests. In this lesson, I’ll show you to set up jsdom, a JavaScript implementation of the DOM, and how you can test lifecycle methods of your components.

Related Links

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