Rename cypress tests to .cy.ts

This commit is contained in:
Matthias 2022-06-15 20:16:40 +02:00
parent fa493c22d2
commit f4f8419e09
7 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export default defineConfig({
setupNodeEvents(on, config) { setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config); return require('./cypress/plugins/index.js')(on, config);
}, },
specPattern: 'cypress/e2e/**/*.spec.ts', specPattern: 'cypress/e2e/**/*.cy.ts',
baseUrl: 'http://localhost:3000', baseUrl: 'http://localhost:3000',
}, },
component: { component: {
@ -17,6 +17,6 @@ export default defineConfig({
bundler: 'vite', bundler: 'vite',
}, },
// setupNodeEvents(on, config) {}, // setupNodeEvents(on, config) {},
specPattern: 'src/**/*.spec.ts', specPattern: 'src/**/*.cy.ts',
}, },
}); });