frequi_origin/cypress.config.ts

23 lines
576 B
TypeScript
Raw Normal View History

2022-06-08 18:49:19 +00:00
import { defineConfig } from 'cypress';
export default defineConfig({
video: false,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config);
},
specPattern: 'cypress/e2e/**/*.spec.ts',
baseUrl: 'http://localhost:3000',
},
component: {
devServer: {
framework: 'vue',
bundler: 'vite',
},
// setupNodeEvents(on, config) {},
specPattern: 'src/**/*.spec.ts',
},
});