From f7c6f2250b64de28500bc56ef63125bdb312b062 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Wed, 14 Feb 2024 21:17:31 +0100 Subject: [PATCH] Annotate legacy mode test in ReactDOMSingletonComponents --- .../src/__tests__/ReactDOMSingletonComponents-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }); });