Skip to content

Commit

Permalink
Gate memory leak tests of internals
Browse files Browse the repository at this point in the history
These tests don't translate as is to the new implementation and have been
ported to the Fizz tests separately.
  • Loading branch information
sebmarkbage committed May 5, 2021
1 parent f1f9e20 commit d13459a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ describe('ReactDOMServerIntegration', () => {
});

// Regression test for https://github.com/facebook/react/issues/14705
// @gate !experimental
it('does not pollute later renders when stream destroyed', () => {
const LoggedInUser = React.createContext('default');

Expand Down Expand Up @@ -529,6 +530,7 @@ describe('ReactDOMServerIntegration', () => {
});

// Regression test for https://github.com/facebook/react/issues/14705
// @gate !experimental
it('frees context value reference when stream destroyed', () => {
const LoggedInUser = React.createContext('default');

Expand Down

0 comments on commit d13459a

Please sign in to comment.