Replies: 1 comment
-
|
could |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are using
.env.testfile for our (jest) unit tests and.envfor production.but for test we want it empty:
However when we add there empty value this way, the
dotenvwill probably consider it as undefined and take it from.envfile.This is causing tests behave differently on different environments (CI vs local dev) as we have different
.envfiles but allways same.env.test.How to prevent this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions