Currently, I can only detect development and production environments by .gitignore
ing my config file, where I can explicitly set either process.env.ENV = 'prod'
or process.env.ENV = 'devel'
depending on the current environment. And I can be sure that this value will be imported when arangod starts.
But unit tests are not running on arangod startup, so maybe I need to hook up some listener to http requests or something to determine whether it's a request that fires unit tests? Can you help me with this plz?
Thank you