Full DOM rendering is ideal for use cases where you have components that interact with DOM APIs, or require React lifecycles. In this lesson we will render components with the mount method from Enzyme. We’ll pass through customized options to render our component differently.
jsdom is a bit confusing when ejected from create-react-app. As within create-react-app it listens to env=jsdom in the test script. How do you go about this when ejected? Is the setup any different?
We installed jsdom. And what is the next step? I didn't understand how can we use it. We even didn't import it in our test and didn't add it into config...