Skip to content

Commit

Permalink
unstable_createRoot -> createRoot in test (#17107)
Browse files Browse the repository at this point in the history
Fixes test added in #17105, which was based on an earler commit than the
one that removed the `unstable_` prefix from `createRoot`.
  • Loading branch information
acdlite authored Oct 16, 2019
1 parent 6ff23f2 commit d7feeb2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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([]);

Expand Down

0 comments on commit d7feeb2

Please sign in to comment.