-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
[tests] assertLog before act in ReactErrorBoundaries #28761
Conversation
Comparing: a5aedd1...77cab71 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: Expand to show
|
Why do we sometimes clear instead of asserting on logs? |
@eps1lon for these test, many of the tests in this file are already clearing, and I think it's because the log is huge, like 20+ or more lines in many cases. We should probably re-write these to clean up the logs instead of logging everything always for all tests, but I don't have time for a full refactor. |
Fixes tests blocking #28737
Fixes tests blocking #28737
Fixes tests blocking facebook#28737
We should force `assertLog` to be called before each `act` block to ensure the queue is empty. Requires fixing tests: - facebook#28745 - facebook#28758 - facebook#28759 - facebook#28760 - facebook#28761 - facebook#28762 - facebook#28763 - facebook#28812
Fixes tests blocking #28737