diff --git a/Libraries/Animated/src/__tests__/AnimatedNative-test.js b/Libraries/Animated/src/__tests__/AnimatedNative-test.js index 8f59d33c57cbb0..d3ff6665cbc81f 100644 --- a/Libraries/Animated/src/__tests__/AnimatedNative-test.js +++ b/Libraries/Animated/src/__tests__/AnimatedNative-test.js @@ -81,7 +81,7 @@ describe('Native Animated', () => { // via component refs table that we override here. c.refs = { node: { - setNativeProps: jest.genMockFunction(), + setNativeProps: jest.fn(), }, }; diff --git a/Libraries/Components/Touchable/__tests__/__snapshots__/TouchableHighlight-test.js.snap b/Libraries/Components/Touchable/__tests__/__snapshots__/TouchableHighlight-test.js.snap index 6028d74aaa8a21..34d71cc12a523e 100644 --- a/Libraries/Components/Touchable/__tests__/__snapshots__/TouchableHighlight-test.js.snap +++ b/Libraries/Components/Touchable/__tests__/__snapshots__/TouchableHighlight-test.js.snap @@ -2,15 +2,8 @@ exports[`TouchableHighlight renders correctly 1`] = ` } @@ -67,7 +65,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
} @@ -509,14 +496,12 @@ exports[`SectionList renders all the bells and whistles 1`] = ` exports[`SectionList renders empty list 1`] = ` } @@ -495,7 +488,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `