diff --git a/packages/react-dom/src/__tests__/ReactDOMServerIntegrationModes-test.js b/packages/react-dom/src/__tests__/ReactDOMServerIntegrationModes-test.js index 9dbac22704d17..5770bd1e20c9f 100644 --- a/packages/react-dom/src/__tests__/ReactDOMServerIntegrationModes-test.js +++ b/packages/react-dom/src/__tests__/ReactDOMServerIntegrationModes-test.js @@ -37,56 +37,6 @@ describe('ReactDOMServerIntegration', () => { resetModules(); }); - // Test pragmas don't support itRenders abstraction - if ( - __EXPERIMENTAL__ && - require('shared/ReactFeatureFlags').enableDebugTracing - ) { - describe('React.unstable_DebugTracingMode', () => { - beforeEach(() => { - spyOnDevAndProd(console, 'log'); - }); - - itRenders('with one child', async render => { - const e = await render( - -
text1
-
, - ); - const parent = e.parentNode; - expect(parent.childNodes[0].tagName).toBe('DIV'); - }); - - itRenders('mode with several children', async render => { - const Header = props => { - return

header

; - }; - const Footer = props => { - return ( - -

footer

-

about

-
- ); - }; - const e = await render( - -
text1
- text2 -
-