getting Camera.js tests to run on bare-expo?

im trying to get Camera.js tests to run with bare-expo, but importing Camera from ‘expo-camera’ throws error, so the all the tests get ignored

this commit shows the importing wrapped in a function with ignores the tests if there is an error

the error that gets thrown when import { Camera } from 'expo-camera'
TypeError: undefined is not an object (evaluating 'CameraManager.Type')

ive been able to get these tests to run as an managed expo app, but not as bare-expo.

is anyone able to get these tests to run? do they ever run?

1 Like

I needed to use react-native-svg-icon ran into the exact same issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.