Simplify cypress.config

This commit is contained in:
Matthias 2024-04-08 15:54:32 +02:00
parent 9ca7f59b9e
commit 52cc3d354e

View File

@ -5,9 +5,6 @@ export default defineConfig({
e2e: { e2e: {
// We've imported your old cypress plugins here. // We've imported your old cypress plugins here.
// You may want to clean this up later by importing these. // 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/**/*.cy.ts', specPattern: 'cypress/e2e/**/*.cy.ts',
baseUrl: 'http://localhost:3000', baseUrl: 'http://localhost:3000',
}, },