mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
* fix(cypress): replace deprecated env function as can be found at on.cypress.io/env `Cypress.env()` is deperecated and will be removed. its only used for backend url which is not sensative info. replace with `Cypress.expose()` * fix(cypress): add missing config update for expose usage
17 lines
336 B
JavaScript
17 lines
336 B
JavaScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
fixturesFolder: false,
|
|
expose: {
|
|
backend_url: 'http://localhost:8080',
|
|
},
|
|
e2e: {
|
|
setupNodeEvents(on, config) {},
|
|
baseUrl: 'http://localhost:3000',
|
|
supportFile: false,
|
|
},
|
|
video: true,
|
|
videoCompression: true,
|
|
allowCypressEnv: false,
|
|
})
|