-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
no-deprecated - React.addons.TestUtils doesn't create a warning #1644
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
Labels
Comments
Thanks! We'll want to make sure that only throws when the version pragma is 15.5.0 or greater. |
@ljharb Great. Anything I can do to help with this verification? |
Nope, your PR seems solid :-) |
This was referenced Jan 26, 2018
This was referenced Sep 22, 2018
This was referenced Dec 21, 2018
This was referenced Jan 2, 2019
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
React.addons.TestUtils
a warning should be thrown, since the addons entry point is deprecated as of 15.5.0 (as per the official documentation)The error that should be thrown is:
React.addons.TestUtils is deprecated since React 15.5.0, use ReactDOM.TestUtils instead.
The text was updated successfully, but these errors were encountered: