Files
cypress/system-tests/projects/migration-e2e-plugins-implicit-index-js/expected-cypress.config.js
T
Lachlan Miller c7f63e1f29 fix: handle case of implicit plugins/index.js files during migration (#22501)
* handle case of implicit index.js

* fix test error message

* fix test
2022-06-24 09:48:42 -05:00

12 lines
306 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents (on, config) {
return require('./cypress/plugins')(on, config)
},
},
})