From 90121af3fcc6d104afc1398c4dfaedd43fc384b4 Mon Sep 17 00:00:00 2001 From: Jeremy Hamilton Date: Tue, 22 Sep 2020 11:32:29 -0700 Subject: [PATCH] remove image snapshot tests --- src/image/__tests__/Image.js | 27 ---- .../__tests__/__snapshots__/Image.js.snap | 138 ------------------ 2 files changed, 165 deletions(-) diff --git a/src/image/__tests__/Image.js b/src/image/__tests__/Image.js index 16d5e223f8..52f29cf73b 100644 --- a/src/image/__tests__/Image.js +++ b/src/image/__tests__/Image.js @@ -15,33 +15,6 @@ describe('Image Component', () => { global.console.warn = () => null; }); - it('should render on ios', () => { - const component = shallow( - - ); - - component.find({ testID: 'RNE__Image' }).prop('onLoad')(); - jest.runOnlyPendingTimers(); - - expect(component.length).toBe(1); - expect(toJson(component)).toMatchSnapshot(); - }); - - it('should render on android', () => { - Platform.OS = 'android'; - Platform.Version = 25; - - const component = shallow( - - ); - - component.find({ testID: 'RNE__Image' }).prop('onLoad')(); - jest.runOnlyPendingTimers(); - - expect(component.length).toBe(1); - expect(toJson(component)).toMatchSnapshot(); - }); - it('should render the appropriate testId when one is passed.', () => { const component = shallow( `; -exports[`Image Component should render on android 1`] = ` - - - - - - - -`; - -exports[`Image Component should render on ios 1`] = ` - - - - - - - -`; - exports[`Image Component should render without the transition 1`] = `