-
Notifications
You must be signed in to change notification settings - Fork 5
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
terminal console warning: updated reference to ReactTestUtils to be react-dom/test-utils #151
Comments
@thescientist13 Did you find a case were Since we are using |
@jpoo90 |
Update:
|
Thanks for reviewing @jpoo90 ! |
@thescientist13
After this the test utils warnings disappear, but now we got: Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
RouterContext: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement. We are not using PropTypes nor React.createClass in the project, but React generates the warnings if any dependency in the entire tree references a deprecated property. We'll need to keep an eye on releases on the dependencies. Let me know if you want me to open a PR with these updates. |
$ yarn run test console.error node_modules/fbjs/lib/warning.js:36 Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.
The text was updated successfully, but these errors were encountered: