React 18 & ReactDOM.unmountComponentAtNode() shows warning and does not work #26690
Unanswered
d-kls
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey i am fairly new to Cypress (& Cypress Component Testing). This is my test case:
I need to unmount the
TestComponent
, to check some functionality, after having checked it after mounting. I implemented it as referenced in the docs, but this throws a warning inside the console:while also not unmounting my component:
Now before i issue a bug i wanted to check here if perhaps i had missed something about how to unmount the component in React 18 with Cypress correctly.
Used versions:
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions