New issue
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
Upgrade from 7.1.0 to 7.1.1 broke karma/mocha testcases with ReactTestUtils.renderIntoDocument #1388
Comments
I'm not sure renderIntoDocument is supposed to return anything. Their docs don't mention it: https://reactjs.org/docs/test-utils.html#renderintodocument I would do as the example in that section shows and create a DOM element explicitly and then use render on it. |
Is this because I think the discussion in facebook/react#15370 is relevant. |
The API hasn't changed, so we haven't broken semver. |
I am getting a similar error upon upgrade to 7.1.1 in use with enzyme. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Starting from 7.1.1 result of
ReactTestUtils.renderIntoDocument( <Provider> )
is nullWhat is the expected behavior?
Expected result (works for 7.1.0): test passed
Current result (7.1.1): Unable to render, result of renderIntoDocument() is null
Which versions of React, ReactDOM/React Native, Redux, and React Redux are you using? Which browser and OS are affected by this issue? Did this work in previous versions of React Redux?
The text was updated successfully, but these errors were encountered: