Skip to content

Commit 11d72c2

Browse files
committed
Remove act from render
1 parent 57938d0 commit 11d72c2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

node_package/tests/RSCClientRoot.test.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ enableFetchMocks();
6666
};
6767

6868
// Execute the render
69-
const render = () =>
70-
act(async () => {
71-
await RSCClientRoot(props, undefined, mockDomNodeId);
72-
});
69+
const render = () => RSCClientRoot(props, undefined, mockDomNodeId);
7370

7471
return {
7572
render,

0 commit comments

Comments
 (0)