WIP - adding expo 2

This commit is contained in:
Paul Frazee
2023-03-08 13:53:00 -06:00
parent bc46714ca5
commit 18347bdb22
77 changed files with 966 additions and 16646 deletions
+12
View File
@@ -67,3 +67,15 @@ jest.mock('@segment/analytics-react-native', () => ({
jest.mock('react-native-permissions', () =>
require('react-native-permissions/mock'),
)
jest.mock('expo-camera', () => ({
Camera: {
useCameraPermissions: jest.fn(() => [true]),
},
}))
jest.mock('expo-media-library', () => ({
__esModule: true, // this property makes it work
default: jest.fn(),
usePermissions: jest.fn(() => [true]),
}))