Skip to content

Commit

Permalink
Ensure root is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Sep 11, 2024
1 parent 325ed2d commit aea907e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/source/tests/elements.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1279,6 +1279,7 @@ function createAndConnectRemoteRootElement() {
const root = createRemoteRootElement();
const receiver = new TestRemoteReceiver();
root.connect(receiver.connection);
document.body.append(root);
return {root, receiver};
}

Expand Down

0 comments on commit aea907e

Please sign in to comment.