Help with moving SDK from expo managed workflow to expo bare workflow?

Hello! I’m currently moving a SDK built with Expo managed workflow, with Babel/Jest configured for expo, to use Expo bare workflow to reduce some of the Expo libraries I don’t use. I started a new Expo bare project, and moved my code and tests to the Expo bare project. I also installed the libraries I needed such as expo-secure-store and expo-constants. However when i run tests in the tests folder, I keep getting errors for Jest like syntax error regarding import statements and etc. What is the correct setup for Jest/Babel in this case when I’m switching to bare workflow?