Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@ describe('InspectedElement', () => {
await utils.actAsync(() => {
const container = document.createElement('div');
container.innerHTML = '<div></div>';
ReactDOMClient.hydrateRoot(container).render(<Example />);
ReactDOMClient.hydrateRoot(container, <Example />);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My initial reaction was that I'm glad I'm not the only one who gets this wrong. But it was me 😅

Copy link
Contributor

@bvaughn bvaughn Mar 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, this is too good!

}, false);

const inspectedElement = await inspectElementAtIndex(0);
Expand Down