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);
|
|
|
|
},
|
2022-06-15 18:16:40 +00:00
|
|
|
specPattern: 'cypress/e2e/**/*.cy.ts',
|
2022-06-08 18:49:19 +00:00
|
|
|
baseUrl: 'http://localhost:3000',
|
|
|
|
},
|
|
|
|
component: {
|
|
|
|
devServer: {
|
|
|
|
framework: 'vue',
|
|
|
|
bundler: 'vite',
|
|
|
|
},
|
|
|
|
// setupNodeEvents(on, config) {},
|
2022-06-15 18:16:40 +00:00
|
|
|
specPattern: 'src/**/*.cy.ts',
|
2022-06-08 18:49:19 +00:00
|
|
|
},
|
|
|
|
});
|