diff --git a/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js b/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js index 968779d23ff92..6c6ab722cf468 100644 --- a/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js +++ b/packages/react-dom/src/__tests__/ReactDOMServerPartialHydration-test.internal.js @@ -2526,7 +2526,7 @@ describe('ReactDOMServerPartialHydration', () => { container.innerHTML = finalHTML; suspend = true; - let root = ReactDOM.unstable_createRoot(container, {hydrate: true}); + let root = ReactDOM.createRoot(container, {hydrate: true}); root.render(); expect(Scheduler).toFlushAndYield([]);