Skip to content

Commit d13459a

Browse files
committed
Gate memory leak tests of internals
These tests don't translate as is to the new implementation and have been ported to the Fizz tests separately.
1 parent f1f9e20 commit d13459a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-dom/src/__tests__/ReactDOMServerIntegrationNewContext-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ describe('ReactDOMServerIntegration', () => {
487487
});
488488

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

@@ -529,6 +530,7 @@ describe('ReactDOMServerIntegration', () => {
529530
});
530531

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

0 commit comments

Comments
 (0)