mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 15:39:28 -05:00
23 lines
547 B
TypeScript
23 lines
547 B
TypeScript
import { defineConfig } from 'cypress'
|
|
|
|
export default defineConfig({
|
|
'pluginsFile': 'cypress/plugins.js',
|
|
'video': false,
|
|
'fixturesFolder': false,
|
|
'testFiles': '**/*.spec.*',
|
|
'componentFolder': 'cypress/components',
|
|
'component': {
|
|
devServer (cypressConfig) {
|
|
const path = require('path')
|
|
const { startDevServer } = require('./dist')
|
|
|
|
return startDevServer({
|
|
options: cypressConfig,
|
|
viteConfig: {
|
|
configFile: path.resolve(__dirname, 'vite.config.ts'),
|
|
},
|
|
})
|
|
},
|
|
},
|
|
})
|