https://cypress.io logo
So instead of ```require('dotenv').config() modu...
# general-chat
s
So instead of
Copy code
require('dotenv').config()

module.exports = defineConfig({     
    e2e: {
        baseUrl: process.env.APP_URL,
    },
})
I did this:
Copy code
var dotenv = require('dotenv')
var dotenvExpand = require('dotenv-expand')

var myEnv = dotenv.config()
dotenvExpand.expand(myEnv)

module.exports = defineConfig({     
    e2e: {
        baseUrl: process.env.APP_URL,
    },
})
4 Views