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
React PropTypes and createClass warnings #3385
Comments
I actually see this as well, but on my SSR build. |
Hi folks, thanks for the report! |
I saw this during my tests, but could not figure out where it was coming from, as I was not specificaly importing The |
Published fix in |
Hello @erikras, unfortunately I'm still experiencing these warnings in Jest after upgrading to
I was able to confirm that this import causes the yellow warning in Jest:
HTH, thanks for your amazing work! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Are you submitting a bug report or a feature request?
Bug report
What is the current behavior?
When running jest unit tests touching redux-form related code, those tests log React warnings to the console:
What is the expected behavior?
No warnings :)
What's your environment?
Redux-form 7.0.4
Babel 6.26.0
Jest 21.0.1
Flow 0.49.1
React 15.6.1
Other information
Related issue: facebook/flow#4673
Culprits: https://github.com/erikras/redux-form/search?l=JavaScript&q=%22+import+%2A+as+React%22+&type=&utf8=%E2%9C%93
The text was updated successfully, but these errors were encountered: