Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants not loaded correctly when NODE_ENV set to "development" (#115) #118

Closed
wants to merge 1 commit into from

Conversation

MaxTheBean
Copy link

Assigning process.env.VARIABLE = undefined actually does process.env.VARIABLE = "undefined" (I haven't investigated why). This lead to the constants-test.js test to wrongfully test the use-case when an environment variable is undefined. I switched it up to delete process.env.VARIABLE which properly leaves the property undefined.

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

Successfully merging this pull request may close these issues.

None yet

2 participants