mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-24 07:59:03 -06:00
* Add warning when setting CYPRESS_ENV to non-production value * Add warning and update error when setting CYPRESS_ENV in config to non-production value * Update config test/to throw * we want warning, not throw * Rename env var to CYPRESS_INTERNAL_ENV + fix warning to actually warn when staging * update cli snapshot to include new 'info' command * yarn.lock * removed the warning from config, is overboard on our own tests 😓 * cleanup from review Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
6 lines
129 B
JavaScript
6 lines
129 B
JavaScript
if (process.env.CYPRESS_INTERNAL_ENV !== 'production') {
|
|
require('@packages/ts/register')
|
|
}
|
|
|
|
module.exports = require('./lib')
|