mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
MOB-991 add jest mock for perf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user