mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-05 06:20:44 -05:00
0366d4fa89
* 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
23 lines
568 B
TypeScript
23 lines
568 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
'pluginsFile': 'cypress/plugins.js',
|
|
'video': false,
|
|
'fixturesFolder': false,
|
|
'component': {
|
|
'supportFile': 'cypress/support.js',
|
|
'specPattern': 'cypress/components/**/*.spec.*',
|
|
devServer (cypressConfig) {
|
|
const path = require('path')
|
|
const { startDevServer } = require('./dist')
|
|
|
|
return startDevServer({
|
|
options: cypressConfig,
|
|
viteConfig: {
|
|
configFile: path.resolve(__dirname, 'vite.config.ts'),
|
|
},
|
|
})
|
|
},
|
|
},
|
|
})
|