mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-22 07:00:22 -05:00
24 lines
559 B
JavaScript
24 lines
559 B
JavaScript
module.exports = {
|
|
'projectId': 'abc123',
|
|
'componentFolder': 'cypress/component-tests',
|
|
'component': {
|
|
devServer (cypressConfig, devServerConfig) {
|
|
const { startDevServer } = require('@cypress/webpack-dev-server')
|
|
|
|
return startDevServer({ options: cypressConfig, ...devServerConfig })
|
|
},
|
|
devServerConfig: {
|
|
webpackConfig: {
|
|
output: {
|
|
publicPath: '/',
|
|
},
|
|
},
|
|
},
|
|
setupNodeEvents (on, config) {
|
|
require('@cypress/code-coverage/task')(on, config)
|
|
|
|
return config
|
|
},
|
|
},
|
|
}
|