diff --git a/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js b/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js index 003554fb17620..df1edeb665c7e 100644 --- a/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js +++ b/packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegration-test.js @@ -499,7 +499,9 @@ describe('ReactHooksInspectionIntegration', () => { } let renderer; await act(() => { - renderer = ReactTestRenderer.create(); + renderer = ReactTestRenderer.create(, { + unstable_isConcurrent: true, + }); }); let childFiber = renderer.root.findByType(Foo)._currentFiber(); @@ -757,7 +759,7 @@ describe('ReactHooksInspectionIntegration', () => { "isStateEditable": false, "name": "Memo", "subHooks": [], - "value": "Ab", + "value": "AB", }, { "debugInfo": null, @@ -1373,7 +1375,9 @@ describe('ReactHooksInspectionIntegration', () => { } let renderer; await act(() => { - renderer = ReactTestRenderer.create(); + renderer = ReactTestRenderer.create(, { + unstable_isConcurrent: true, + }); }); const childFiber = renderer.root.findByType(Example)._currentFiber(); const tree = ReactDebugTools.inspectHooksOfFiber(childFiber); @@ -2290,7 +2294,9 @@ describe('ReactHooksInspectionIntegration', () => { let renderer; await act(() => { - renderer = ReactTestRenderer.create(); + renderer = ReactTestRenderer.create(, { + unstable_isConcurrent: true, + }); }); const childFiber = renderer.root.findByType(Foo)._currentFiber(); const tree = ReactDebugTools.inspectHooksOfFiber(childFiber); @@ -2422,7 +2428,9 @@ describe('ReactHooksInspectionIntegration', () => { let renderer; await act(() => { - renderer = ReactTestRenderer.create(); + renderer = ReactTestRenderer.create(, { + unstable_isConcurrent: true, + }); }); const childFiber = renderer.root.findByType(Foo)._currentFiber(); const tree = ReactDebugTools.inspectHooksOfFiber(childFiber);