unstable_createRoot -> createRoot in test (#17107)

Fixes test added in #17105, which was based on an earler commit than the
one that removed the `unstable_` prefix from `createRoot`.
This commit is contained in:
Andrew Clark
2019-10-15 21:37:54 -07:00
committed by GitHub
parent 6ff23f2a5d
commit d7feeb25ac
@@ -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(<App showSibling={false} />);
expect(Scheduler).toFlushAndYield([]);