I've set up circleci to run jest on my project, as far as I know, every RN project comes with babel-jest and jest transpiles it before testing (I'm testing some reducers).
The tests are passing in my local machine but on circleci they fail, I guess it is because when it tries to transpile the project it can not find any .env file, thus throwing a exception.
What is the right way to use react-native-dotenv in a cloud testing service?
Hello,
I've set up circleci to run
jest
on my project, as far as I know, every RN project comes with babel-jest and jest transpiles it before testing (I'm testing some reducers).The tests are passing in my local machine but on circleci they fail, I guess it is because when it tries to transpile the project it can not find any
.env
file, thus throwing a exception.What is the right way to use react-native-dotenv in a cloud testing service?
Thanks