From f96a4480ad1fed310fe0dcdfaa20eb4989e96a88 Mon Sep 17 00:00:00 2001 From: Jack Pope Date: Mon, 22 Jan 2024 16:38:11 -0500 Subject: [PATCH] Fix lint, remove unmount --- packages/react-dom/src/__tests__/ReactTreeTraversal-test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/react-dom/src/__tests__/ReactTreeTraversal-test.js b/packages/react-dom/src/__tests__/ReactTreeTraversal-test.js index a3a0d73e9a47e..b9de69de85c41 100644 --- a/packages/react-dom/src/__tests__/ReactTreeTraversal-test.js +++ b/packages/react-dom/src/__tests__/ReactTreeTraversal-test.js @@ -87,11 +87,10 @@ describe('ReactTreeTraversal', () => { root = ReactDOMClient.createRoot(container); await act(() => { root.render(); - }) + }); }); afterEach(() => { - root.unmount(); document.body.removeChild(container); document.body.removeChild(outerNode1); document.body.removeChild(outerNode2);