Skip to content

Commit

Permalink
Update packages/react-dom/src/__tests__/renderSubtreeIntoContainer-te…
Browse files Browse the repository at this point in the history
…st.js
  • Loading branch information
rickhanlonii authored Jan 26, 2024
1 parent 13639f5 commit 89a97f5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,6 @@ describe('renderSubtreeIntoContainer', () => {
return <div />;
}
}
// ReactDOM.render shouldn't be converted to `createRoot` because
// `reacteRoot` didn't exist in React 15.
const c = ReactDOM.render(<C />, document.createElement('div'));
// React 15 calls this:
// https://github.com/facebook/react/blob/77b71fc3c4/src/renderers/dom/client/ReactMount.js#L478-L479
Expand Down

0 comments on commit 89a97f5

Please sign in to comment.