diff --git a/tests/jest.setup.js b/tests/jest.setup.js index 6655e5312..9f6eac302 100644 --- a/tests/jest.setup.js +++ b/tests/jest.setup.js @@ -110,7 +110,8 @@ jest.mock( "@react-native-firebase/analytics", () => ( { } ) ); jest.mock( "@react-native-firebase/perf", () => ( { - startTrace: jest.fn( ) + startFirebaseTrace: jest.fn( ), + stopFirebaseTrace: jest.fn( ) } ) ); // see https://stackoverflow.com/questions/42268673/jest-test-animated-view-for-react-native-app