diff --git a/Libraries/Animated/src/__tests__/AnimatedNative-test.js b/Libraries/Animated/src/__tests__/AnimatedNative-test.js index 8f59d33c5..d3ff6665c 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/local-cli/util/__mocks__/log.js b/local-cli/util/__mocks__/log.js index 12d8627ba..19247b949 100644 --- a/local-cli/util/__mocks__/log.js +++ b/local-cli/util/__mocks__/log.js @@ -9,5 +9,5 @@ 'use strict'; -module.exports.out = () => jest.genMockFn(); -module.exports.err = () => jest.genMockFn(); +module.exports.out = () => jest.fn(); +module.exports.err = () => jest.fn();