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

convert all tests to use React.TestRenderer (viewport/test/if-viewport-matches.js) #7788

Commits on Jul 8, 2018

  1. convert all tests to use React.TestRenderer

    This switches all tests in `viewport/test/if-viewport-matches.js` from using enzyme.mount to `React.TestRenderer`.  This is because `enzyme` does not fully support React 16.3+ (and movement to do so is really slow). This will fix issues with breakage due to the enzyme incompatibility as components receive React 16.3+ features (such as `forwardRef` usage in #7557).
    nerrad committed Jul 8, 2018
    Configuration menu
    Copy the full SHA
    35946ab View commit details
    Browse the repository at this point in the history