diff --git a/jest/setup.js b/jest/setup.js index 567a6ade08..9904ad1a83 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -89,10 +89,12 @@ jest mockComponent('../Libraries/Text/Text', MockNativeMethods), ) .mock('../Libraries/Components/TextInput/TextInput', () => - mockComponent( - '../Libraries/Components/TextInput/TextInput', - MockNativeMethods, - ), + mockComponent('../Libraries/Components/TextInput/TextInput', { + ...MockNativeMethods, + isFocused: jest.fn(), + clear: jest.fn(), + getNativeRef: jest.fn(), + }), ) .mock('../Libraries/Modal/Modal', () => mockComponent('../Libraries/Modal/Modal'),