diff --git a/packages/react-native/Libraries/Components/TextInput/__tests__/InputAccessoryView-test.js b/packages/react-native/Libraries/Components/TextInput/__tests__/InputAccessoryView-test.js index 9777451295d..97319e3e493 100644 --- a/packages/react-native/Libraries/Components/TextInput/__tests__/InputAccessoryView-test.js +++ b/packages/react-native/Libraries/Components/TextInput/__tests__/InputAccessoryView-test.js @@ -16,7 +16,7 @@ const View = require('../../View/View'); const InputAccessoryView = require('../InputAccessoryView').default; const React = require('react'); -describe('', () => { +describe('InputAccessoryView', () => { it('should render as when mocked', () => { const instance = render.create( @@ -26,26 +26,6 @@ describe('', () => { expect(instance).toMatchSnapshot(); }); - it('should shallow render as when mocked', () => { - const output = render.shallow( - - - , - ); - expect(output).toMatchSnapshot(); - }); - - it('should shallow render as when not mocked', () => { - jest.dontMock('../InputAccessoryView'); - - const output = render.shallow( - - - , - ); - expect(output).toMatchSnapshot(); - }); - it('should render as when not mocked', () => { jest.dontMock('../InputAccessoryView'); diff --git a/packages/react-native/Libraries/Components/TextInput/__tests__/__snapshots__/InputAccessoryView-test.js.snap b/packages/react-native/Libraries/Components/TextInput/__tests__/__snapshots__/InputAccessoryView-test.js.snap index 8ed62dfea9d..b9201d10116 100644 --- a/packages/react-native/Libraries/Components/TextInput/__tests__/__snapshots__/InputAccessoryView-test.js.snap +++ b/packages/react-native/Libraries/Components/TextInput/__tests__/__snapshots__/InputAccessoryView-test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should render as when mocked 1`] = ` +exports[`InputAccessoryView should render as when mocked 1`] = ` should render as when mo `; -exports[` should render as when not mocked 1`] = ` +exports[`InputAccessoryView should render as when not mocked 1`] = ` should render as when no `; - -exports[` should shallow render as when mocked 1`] = ` - - - -`; - -exports[` should shallow render as when not mocked 1`] = ` - - - -`;