Files
linux-odyssey/tests/cypress.config.js
T

13 lines
278 B
JavaScript

const { defineConfig } = require('cypress')
const process = require('process')
const getConfig = (key, defaultValue) => {
return process.env[key] || defaultValue
}
module.exports = defineConfig({
e2e: {
baseUrl: getConfig('BASE_URL', 'http://localhost:5173'),
},
})