src/extendWithFirebaseConfig.js
function getEnvNameFromConfig(cypressConfig) {
  if (!cypressConfig.env || !cypressConfig.env.envName) {
    return 'local';
  }
  return cypressConfig.env.envName;
}
function getEnvNameFromConfig(cypressConfig) {
  if (!cypressConfig.env || !cypressConfig.env.envName) {
    return 'local';
  }
  return cypressConfig.env.envName;
}
function getEnvNameFromConfig ( cypressConfig ) { if ( ! cypressConfig . env || ! cypressConfig . env . envName ) { return 'local' ; } return cypressConfig . env . envName ; }
Get environment name from cypress config or default to "local"
@param {Object} cypressConfig - Cypress config object
Get environment name from cypress config or default to local