diff --git a/packages/react-native/Libraries/LogBox/UI/__tests__/LogBoxInspectorSection-test.js b/packages/react-native/Libraries/LogBox/UI/__tests__/LogBoxInspectorSection-test.js index 0302f35acfc..0f7a8361870 100644 --- a/packages/react-native/Libraries/LogBox/UI/__tests__/LogBoxInspectorSection-test.js +++ b/packages/react-native/Libraries/LogBox/UI/__tests__/LogBoxInspectorSection-test.js @@ -17,7 +17,7 @@ const React = require('react'); describe('LogBoxInspectorSection', () => { it('should render with only heading', () => { - const output = render.shallowRender( + const output = render.create( Child , @@ -27,7 +27,7 @@ describe('LogBoxInspectorSection', () => { }); it('should render with action on the right', () => { - const output = render.shallowRender( + const output = render.create( Right}>