mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-19 21:51:16 -06:00
* feat: use supportFile by testingType * Fix defaults * Start renaming files, and updating system-tests * Fix some tests * Fix some tests * Fix more tests * Try to fix CI * Fix more tests * Fix some tests * Revert changes * Revert supportFile defaultValue * Fix some tests * Fix some tests * Fix some tests * Fix some tests * Update supportFile example * Update snapshots * Remove scaffold support * Handle config errors * Remove scaffold * Fix tests * Fix test * Update test * Fix test * Update supportFile template * Fix template
24 lines
603 B
JavaScript
24 lines
603 B
JavaScript
module.exports = {
|
|
'video': false,
|
|
'fixturesFolder': false,
|
|
'viewportWidth': 500,
|
|
'viewportHeight': 500,
|
|
'env': {
|
|
'coverage': true,
|
|
},
|
|
component: {
|
|
'specPattern': 'src/**/*cy-spec.js',
|
|
setupNodeEvents (on, config) {
|
|
// load file devServer that comes with this plugin
|
|
// https://github.com/bahmutov/cypress-react-unit-test#install
|
|
const devServer = require('@cypress/react/plugins/react-scripts')
|
|
|
|
devServer(on, config)
|
|
|
|
// IMPORTANT to return the config object
|
|
// with the any changed environment variables
|
|
return config
|
|
},
|
|
},
|
|
}
|