github.com/kubeshop/testkube@v1.17.23/contrib/executor/cypress/examples/cypress.config.js (about)

     1  const { defineConfig } = require('cypress')
     2  
     3  module.exports = defineConfig({
     4    e2e: {
     5      // We've imported your old cypress plugins here.
     6      // You may want to clean this up later by importing these.
     7      setupNodeEvents(on, config) {
     8        return require('./cypress/plugins/index.js')(on, config)
     9      },
    10    },
    11  })