MOB-991 add jest mock for perf

This commit is contained in:
sepeterson
2025-11-12 16:15:36 -06:00
parent 78ca8d9c0c
commit fb4a994dd0

View File

@@ -109,6 +109,10 @@ jest.mock( "@react-native-firebase/analytics", () => ( {
logEvent: jest.fn( )
} ) );
jest.mock( "@react-native-firebase/perf", () => ( {
startTrace: jest.fn( )
} ) );
// see https://stackoverflow.com/questions/42268673/jest-test-animated-view-for-react-native-app
// for more details about this withAnimatedTimeTravelEnabled approach. basically, this
// allows us to step through animation frames when a screen is first loading when we're using the