Skip to content
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

install react-test-render to fix Enzyme console warning #3323

Merged
merged 2 commits into from
Apr 19, 2017

Commits on Apr 19, 2017

  1. 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.
    ```
    davidctj authored Apr 19, 2017
    Configuration menu
    Copy the full SHA
    e0669dd View commit details
    Browse the repository at this point in the history
  2. Update TutorialReact.md

    cpojer authored Apr 19, 2017
    Configuration menu
    Copy the full SHA
    a2e8c61 View commit details
    Browse the repository at this point in the history