GeezerVison is showing github.com — Resolve the true entry point during tests (#21505) · react/react@86715ef
File treeExpand file treeCollapse file tree Open diff view settings react-fetch/src/__tests__ react-interactions/events/src/dom/create-event-handle/__tests__ react-reconciler/src/__tests__
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -286,7 +286,7 @@ describe('ReactDOMFiberAsync', () => { | 286 | 286 | expect(ops).toEqual(['BC', 'ABCD']); | 287 | 287 | }); | 288 | 288 |
| 289 | | - // @gate experimental | | 289 | + // @gate experimental || www | 290 | 290 | it('flushControlled flushes updates before yielding to browser', () => { | 291 | 291 | let inst; | 292 | 292 | class Counter extends React.Component { | @@ -326,7 +326,7 @@ describe('ReactDOMFiberAsync', () => { | 326 | 326 | ]); | 327 | 327 | }); | 328 | 328 |
| 329 | | - // @gate experimental | | 329 | + // @gate experimental || www | 330 | 330 | it('flushControlled does not flush until end of outermost batchedUpdates', () => { | 331 | 331 | let inst; | 332 | 332 | class Counter extends React.Component { | @@ -357,7 +357,7 @@ describe('ReactDOMFiberAsync', () => { | 357 | 357 | ]); | 358 | 358 | }); | 359 | 359 |
| 360 | | - // @gate experimental | | 360 | + // @gate experimental || www | 361 | 361 | it('flushControlled returns nothing', () => { | 362 | 362 | // In the future, we may want to return a thenable "work" object. | 363 | 363 | let inst; | |
Collapse file Copy file name to clipboardExpand all lines: packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -571,7 +571,7 @@ describe('ReactDOMServerPartialHydration', () => { | 571 | 571 | expect(span.className).toBe('hi'); | 572 | 572 | }); | 573 | 573 |
| 574 | | - // @gate experimental | | 574 | + // @gate experimental || www | 575 | 575 | it('blocks updates to hydrate the content first if props changed at idle priority', async () => { | 576 | 576 | let suspend = false; | 577 | 577 | let resolve; | @@ -1498,7 +1498,7 @@ describe('ReactDOMServerPartialHydration', () => { | 1498 | 1498 | expect(container.textContent).toBe('ALoading B'); | 1499 | 1499 | }); | 1500 | 1500 |
| 1501 | | - // @gate experimental | | 1501 | + // @gate experimental || www | 1502 | 1502 | it('clears server boundaries when SuspenseList runs out of time hydrating', async () => { | 1503 | 1503 | let suspend = false; | 1504 | 1504 | let resolve; | @@ -1912,7 +1912,7 @@ describe('ReactDOMServerPartialHydration', () => { | 1912 | 1912 | document.body.removeChild(container); | 1913 | 1913 | }); | 1914 | 1914 |
| 1915 | | - // @gate experimental | | 1915 | + // @gate www | 1916 | 1916 | it('does not invoke an event on a hydrated event handle until it commits', async () => { | 1917 | 1917 | const setClick = ReactDOM.unstable_createEventHandle('click'); | 1918 | 1918 | let suspend = false; | @@ -2077,7 +2077,7 @@ describe('ReactDOMServerPartialHydration', () => { | 2077 | 2077 | document.body.removeChild(container); | 2078 | 2078 | }); | 2079 | 2079 |
| 2080 | | - // @gate experimental | | 2080 | + // @gate www | 2081 | 2081 | it('invokes discrete events on nested suspense boundaries in a root (createEventHandle)', async () => { | 2082 | 2082 | let suspend = false; | 2083 | 2083 | let isServerRendering = true; | @@ -2617,7 +2617,7 @@ describe('ReactDOMServerPartialHydration', () => { | 2617 | 2617 | expect(span.innerHTML).toBe('Hidden child'); | 2618 | 2618 | }); | 2619 | 2619 |
| 2620 | | - // @gate experimental | | 2620 | + // @gate experimental || www | 2621 | 2621 | it('renders a hidden LegacyHidden component inside a Suspense boundary', async () => { | 2622 | 2622 | const ref = React.createRef(); | 2623 | 2623 |
| @@ -2646,7 +2646,7 @@ describe('ReactDOMServerPartialHydration', () => { | 2646 | 2646 | expect(span.innerHTML).toBe('Hidden child'); | 2647 | 2647 | }); | 2648 | 2648 |
| 2649 | | - // @gate experimental | | 2649 | + // @gate experimental || www | 2650 | 2650 | it('renders a visible LegacyHidden component', async () => { | 2651 | 2651 | const ref = React.createRef(); | 2652 | 2652 |
| |
Collapse file Copy file name to clipboardExpand all lines: packages/react-dom/src/__tests__/ReactDOMServerSelectiveHydration-test.internal.js +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -369,7 +369,7 @@ describe('ReactDOMServerSelectiveHydration', () => { | 369 | 369 | document.body.removeChild(container); | 370 | 370 | }); | 371 | 371 |
| 372 | | - // @gate experimental | | 372 | + // @gate www | 373 | 373 | it('hydrates the target boundary synchronously during a click (createEventHandle)', async () => { | 374 | 374 | const setClick = ReactDOM.unstable_createEventHandle('click'); | 375 | 375 | let isServerRendering = true; | @@ -438,7 +438,7 @@ describe('ReactDOMServerSelectiveHydration', () => { | 438 | 438 | document.body.removeChild(container); | 439 | 439 | }); | 440 | 440 |
| 441 | | - // @gate experimental | | 441 | + // @gate www | 442 | 442 | it('hydrates at higher pri if sync did not work first time (createEventHandle)', async () => { | 443 | 443 | let suspend = false; | 444 | 444 | let isServerRendering = true; | @@ -526,7 +526,7 @@ describe('ReactDOMServerSelectiveHydration', () => { | 526 | 526 | document.body.removeChild(container); | 527 | 527 | }); | 528 | 528 |
| 529 | | - // @gate experimental | | 529 | + // @gate www | 530 | 530 | it('hydrates at higher pri for secondary discrete events (createEventHandle)', async () => { | 531 | 531 | const setClick = ReactDOM.unstable_createEventHandle('click'); | 532 | 532 | let suspend = false; | @@ -812,7 +812,7 @@ describe('ReactDOMServerSelectiveHydration', () => { | 812 | 812 | document.body.removeChild(container); | 813 | 813 | }); | 814 | 814 |
| 815 | | - // @gate experimental | | 815 | + // @gate experimental || www | 816 | 816 | it('hydrates the last explicitly hydrated target at higher priority', async () => { | 817 | 817 | function Child({text}) { | 818 | 818 | Scheduler.unstable_yieldValue(text); | @@ -861,7 +861,7 @@ describe('ReactDOMServerSelectiveHydration', () => { | 861 | 861 | expect(Scheduler).toFlushAndYield(['App', 'C', 'B', 'A']); | 862 | 862 | }); | 863 | 863 |
| 864 | | - // @gate experimental | | 864 | + // @gate experimental || www | 865 | 865 | it('hydrates before an update even if hydration moves away from it', async () => { | 866 | 866 | function Child({text}) { | 867 | 867 | Scheduler.unstable_yieldValue(text); | |
|