mondaycom / monday-sdk-js

Node.js and JavaScript SDK for developing over the monday.com platform
https://monday.com
MIT License
87 stars 39 forks source link

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

Closed MaxTheBean closed 10 months ago

MaxTheBean commented 1 year ago

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.