diff --git a/packages/react-dom/src/__tests__/ReactDOMSingletonComponents-test.js b/packages/react-dom/src/__tests__/ReactDOMSingletonComponents-test.js index 9c4c3fc913be1..ff1cbf066322d 100644 --- a/packages/react-dom/src/__tests__/ReactDOMSingletonComponents-test.js +++ b/packages/react-dom/src/__tests__/ReactDOMSingletonComponents-test.js @@ -996,17 +996,17 @@ describe('ReactDOM HostSingleton', () => { }); // https://github.com/facebook/react/issues/26128 - it('(#26128) does not throw when rendering at body', async () => { + it('(#26128) does not throw when rendering at body in legacy mode', async () => { ReactDOM.render(
, document.body); }); // https://github.com/facebook/react/issues/26128 - it('(#26128) does not throw when rendering at ', async () => { + it('(#26128) does not throw when rendering at in legacy mode', async () => { ReactDOM.render(, document.documentElement); }); // https://github.com/facebook/react/issues/26128 - it('(#26128) does not throw when rendering at document', async () => { + it('(#26128) does not throw when rendering at document in legacy mode', async () => { ReactDOM.render(, document); }); });