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.
Assigning
process.env.VARIABLE = undefined
actually doesprocess.env.VARIABLE = "undefined"
(I haven't investigated why). This lead to theconstants-test.js
test to wrongfully test the use-case when an environment variable is undefined. I switched it up todelete process.env.VARIABLE
which properly leaves the propertyundefined
.