Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

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