diff --git a/packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js b/packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js index ebe0234c81c4c..bc87e47083e2a 100644 --- a/packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js +++ b/packages/react-reconciler/src/__tests__/ReactHooksWithNoopRenderer-test.js @@ -3035,7 +3035,7 @@ describe('ReactHooksWithNoopRenderer', () => { await act(() => { root.render(); }); - }); + }).toErrorDev([]); } // Should not warn for regular effects after throw.