dillon1000/react
Commit
Browse files Fix SSR integration test swallowing lack of expected error (#10331)
* Don't catch the assertion about missing errors Previously, even if an error was not thrown, the assertion about this was ignored. This fix exposes two failing cases in new SSR that weren't failing in Stack. * Add child context validation to new SSR This fixes the error cases that were silently failing before but are now exposed.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js ModifiedM src/renderers/shared/server/ReactPartialRenderer.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…