Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

.env file not found in testing environment #36

Closed
wachunei opened this issue Jan 15, 2018 · 1 comment
Closed

.env file not found in testing environment #36

wachunei opened this issue Jan 15, 2018 · 1 comment

Comments

@wachunei
Copy link
Contributor

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

@wachunei
Copy link
Contributor Author

I ended up versioning default .env file (check #37)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant