mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-21 06:30:49 -06:00
* fix: scaffold correct config file * update setConfigFilePath * Update test * Update with code review * remove default supportFile * Update supportFile default value * Add test * Fix identation * Update with feedback * fix english pluralization Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
24 lines
615 B
TypeScript
24 lines
615 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
'experimentalFetchPolyfill': true,
|
|
'fixturesFolder': false,
|
|
'includeShadowDom': true,
|
|
'fileServerFolder': 'src',
|
|
'projectId': 'nf7zag',
|
|
'component': {
|
|
setupNodeEvents (on, config) {
|
|
return require('./cypress/plugins')(on, config)
|
|
},
|
|
devServer (cypressConfig) {
|
|
const { startDevServer } = require('@cypress/webpack-dev-server')
|
|
const webpackConfig = require('./cypress/plugins/webpack.config')
|
|
|
|
return startDevServer({
|
|
options: cypressConfig,
|
|
webpackConfig,
|
|
})
|
|
},
|
|
},
|
|
})
|