Are there any built-in ways in Playcanvas to set and get the “environment” we’re running on, like development, QA, production?
For example, if we set up mocha for unit testing purposes and report the unit test results on the browser, if there a way to detect the environment that is being used so that we only initiate mocha and run tests in development mode?
Or do we just have to implement our own solution?