mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-31 11:59:04 -06:00
15 lines
303 B
JavaScript
15 lines
303 B
JavaScript
const { defineConfig } = require('cypress')
|
|
|
|
module.exports = defineConfig({
|
|
e2e: {
|
|
specPattern: 'cypress/tests/**/*',
|
|
setupNodeEvents (on, config) {
|
|
const webpackPreprocessor = require('./index')
|
|
|
|
on('file:preprocessor', webpackPreprocessor())
|
|
|
|
return config
|
|
},
|
|
},
|
|
})
|