Skip to content

Commit b1c9e62

Browse files
committed
remote gating from bad merge
1 parent 19a1520 commit b1c9e62

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2371,7 +2371,6 @@ describe('ReactDOMServerPartialHydration', () => {
23712371
document.body.removeChild(parentContainer);
23722372
});
23732373

2374-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
23752374
it('blocks only on the last continuous event (legacy system)', async () => {
23762375
let suspend1 = false;
23772376
let resolve1;

packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
187187
document.body.removeChild(container);
188188
});
189189

190-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
191190
it('hydrates at higher pri if sync did not work first time', async () => {
192191
let suspend = false;
193192
let resolve;
@@ -285,7 +284,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
285284
document.body.removeChild(container);
286285
});
287286

288-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
289287
it('hydrates at higher pri for secondary discrete events', async () => {
290288
let suspend = false;
291289
let resolve;
@@ -470,7 +468,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
470468
});
471469

472470
// @gate www
473-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
474471
it('hydrates at higher pri if sync did not work first time (createEventHandle)', async () => {
475472
let suspend = false;
476473
let isServerRendering = true;
@@ -569,7 +566,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
569566
});
570567

571568
// @gate www
572-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
573569
it('hydrates at higher pri for secondary discrete events (createEventHandle)', async () => {
574570
const setClick = ReactDOM.unstable_createEventHandle('click');
575571
let suspend = false;
@@ -684,7 +680,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
684680
document.body.removeChild(container);
685681
});
686682

687-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
688683
it('hydrates the hovered targets as higher priority for continuous events', async () => {
689684
let suspend = false;
690685
let resolve;
@@ -804,7 +799,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
804799
document.body.removeChild(container);
805800
});
806801

807-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
808802
it('hydrates the last target path first for continuous events', async () => {
809803
let suspend = false;
810804
let resolve;
@@ -942,7 +936,6 @@ describe('ReactDOMServerSelectiveHydration', () => {
942936
});
943937

944938
// @gate experimental || www
945-
// @gate !enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay
946939
it('hydrates before an update even if hydration moves away from it', async () => {
947940
function Child({text}) {
948941
Scheduler.unstable_yieldValue(text);

0 commit comments

Comments
 (0)