-
Notifications
You must be signed in to change notification settings - Fork 46.4k
-
Notifications
You must be signed in to change notification settings - Fork 46.4k
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
ReactTestUtils.Simulate logs unexpected console error #6379
Milestone
Comments
Thanks for reporting. We'll get this fixed. |
Are we not checking for unexpected warnings in tests? Should we? Curious how this crept in unnoticed. |
node doesn't support Proxies so none of that code is actually getting tested :/ Even running with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce, open http://jsfiddle.net/0jjnaghw/
Error is logged to browser dev tools (in Chrome & Firefox, somehow not in Safari).
Happens on v15.0.0-rc.2 and on latest master version.
The assignment of additional event data to the newly created SyntheticEvent triggers a console error:
react/src/test/ReactTestUtils.js
Line 502 in 3a4e1db
The text was updated successfully, but these errors were encountered: