react-dom-testing icon indicating copy to clipboard operation
react-dom-testing copied to clipboard

Recipe: how to test components that render into the body

Open sunesimonsen opened this issue 5 years ago • 0 comments

Components that render into the body through a portal needs to be unmounted to make sure the markup doesn't stay around in the body.

sunesimonsen avatar Sep 24 '19 20:09 sunesimonsen