fix: cypress plugins

This commit is contained in:
Dominik Pschenitschni 2022-06-21 23:51:58 +02:00 committed by Gitea
parent 77466e3373
commit c6d214b9eb
7 changed files with 97 additions and 45 deletions

View file

@ -11,12 +11,13 @@ export default defineConfig({
},
projectId: '181c7x',
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.ts')(on, config)
},
baseUrl: 'http://localhost:4173',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
},
component: {
devServer: {
framework: 'vue',
bundler: 'vite',
},
},
})