https://cypress.io logo
Cypress configuration to access target environment...
# e2e-testing
k
Cypress configuration to access target environments
Hi! I have the following entry within package.json "test:cypress": "cypress open --env target=dev" and I wanted to use this flag to control my dotenv path load within cypress.config.ts. How do I access this flag within the configuration file?
my current cypress.config.ts looks like below and I have tried accessing the command line argument within setupNodeEvents