Merge branch 'hailey/platform-info' into 0.74-fabric

This commit is contained in:
Hailey
2024-08-04 20:04:52 -07:00
12 changed files with 90 additions and 36 deletions
+10
View File
@@ -107,3 +107,13 @@ jest.mock('expo-application', () => ({
nativeApplicationVersion: '1.0.0',
nativeBuildVersion: '1',
}))
jest.mock('expo-modules-core', () => ({
requireNativeModule: jest.fn().mockImplementation(moduleName => {
if (moduleName === 'ExpoPlatformInfo') {
return {
getIsReducedMotionEnabled: () => false,
}
}
}),
}))