Skip to content

Commit

Permalink
Annotate legacy mode test in ReactDOMSingletonComponents
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Silbermann committed Feb 14, 2024
1 parent adadb81 commit f7c6f22
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(<div />, document.body);
});

// https://github.com/facebook/react/issues/26128
it('(#26128) does not throw when rendering at <html>', async () => {
it('(#26128) does not throw when rendering at <html> in legacy mode', async () => {
ReactDOM.render(<body />, 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(<html />, document);
});
});

0 comments on commit f7c6f22

Please sign in to comment.