fix: cypress plugins import
This commit is contained in:
parent
8f82dd2783
commit
77466e3373
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ export default defineConfig({
|
||||||
// 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) {
|
setupNodeEvents(on, config) {
|
||||||
return require('./cypress/plugins/index.js')(on, config)
|
return require('./cypress/plugins/index.ts')(on, config)
|
||||||
},
|
},
|
||||||
baseUrl: 'http://localhost:4173',
|
baseUrl: 'http://localhost:4173',
|
||||||
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
|
||||||
|
|
Loading…
Reference in a new issue