We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to documentation https://reactjs.org/docs/test-utils.html#renderintodocument, should be:
const domContainer = document.createElement('div'); ReactDOM.createRoot(domContainer).render(element);
but is ReactDOM.render
react/packages/react-dom/src/test-utils/ReactTestUtils.js
Line 137 in 2cf4352
The text was updated successfully, but these errors were encountered:
Hi, I would like to work on this issue!
can you help me out
Sorry, something went wrong.
Duplicate of #25446
No branches or pull requests
According to documentation https://reactjs.org/docs/test-utils.html#renderintodocument, should be:
but is ReactDOM.render
react/packages/react-dom/src/test-utils/ReactTestUtils.js
Line 137 in 2cf4352
The text was updated successfully, but these errors were encountered: