Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install react-test-render for removing enzyme warning
Enzyme recently made a fix for console warning if we use React v15.5+ , See issue here: enzymejs/enzyme#876 To fix that, we have to install react-test-render instead of react-addons-test-utils Warning: ``` 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. console.error node_modules/fbjs/lib/warning.js:36 Warning: Shallow renderer has been moved to react-test-renderer/shallow. Update references to remove this warning. ```
- Loading branch information
e0669dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do I fix this for React v 15.1.0?
e0669dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VishalGulati , it should not have any problem below v15.5 , you could use react-addons-test-utils