From b1c9e625a0fa0be8fa0f304f377ee6e38cb6430e Mon Sep 17 00:00:00 2001 From: Marco Salazar Date: Mon, 4 Oct 2021 09:43:04 -0400 Subject: [PATCH] remote gating from bad merge --- .../ReactDOMServerPartialHydration-test.internal.js | 1 - .../ReactDOMServerSelectiveHydration-test.internal.js | 7 ------- 2 files changed, 8 deletions(-) diff --git a/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js b/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js index e059689cffe1a..b1a88868b3389 100644 --- a/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js +++ b/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js @@ -2371,7 +2371,6 @@ describe('ReactDOMServerPartialHydration', () => { document.body.removeChild(parentContainer); }); - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('blocks only on the last continuous event (legacy system)', async () => { let suspend1 = false; let resolve1; diff --git a/packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js b/packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js index 1c893b32c8173..ec4d4c76f5750 100644 --- a/packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js +++ b/packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js @@ -187,7 +187,6 @@ describe('ReactDOMServerSelectiveHydration', () => { document.body.removeChild(container); }); - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates at higher pri if sync did not work first time', async () => { let suspend = false; let resolve; @@ -285,7 +284,6 @@ describe('ReactDOMServerSelectiveHydration', () => { document.body.removeChild(container); }); - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates at higher pri for secondary discrete events', async () => { let suspend = false; let resolve; @@ -470,7 +468,6 @@ describe('ReactDOMServerSelectiveHydration', () => { }); // @gate www - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates at higher pri if sync did not work first time (createEventHandle)', async () => { let suspend = false; let isServerRendering = true; @@ -569,7 +566,6 @@ describe('ReactDOMServerSelectiveHydration', () => { }); // @gate www - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates at higher pri for secondary discrete events (createEventHandle)', async () => { const setClick = ReactDOM.unstable_createEventHandle('click'); let suspend = false; @@ -684,7 +680,6 @@ describe('ReactDOMServerSelectiveHydration', () => { document.body.removeChild(container); }); - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates the hovered targets as higher priority for continuous events', async () => { let suspend = false; let resolve; @@ -804,7 +799,6 @@ describe('ReactDOMServerSelectiveHydration', () => { document.body.removeChild(container); }); - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates the last target path first for continuous events', async () => { let suspend = false; let resolve; @@ -942,7 +936,6 @@ describe('ReactDOMServerSelectiveHydration', () => { }); // @gate experimental || www - // @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay it('hydrates before an update even if hydration moves away from it', async () => { function Child({text}) { Scheduler.unstable_yieldValue(text);