diff --git a/cypress.config.ts b/cypress.config.ts new file mode 100644 index 0000000..335d10b --- /dev/null +++ b/cypress.config.ts @@ -0,0 +1,13 @@ +import { defineConfig } from 'cypress' + +export default defineConfig({ + projectId: 'g21npg', + 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) + }, + specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}', + }, +}) diff --git a/cypress.json b/cypress.json deleted file mode 100644 index 677e204..0000000 --- a/cypress.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "projectId": "g21npg" -} diff --git a/cypress/integration/plugin.spec.js b/cypress/e2e/plugin.spec.js similarity index 100% rename from cypress/integration/plugin.spec.js rename to cypress/e2e/plugin.spec.js diff --git a/cypress/support/index.js b/cypress/support/e2e.js similarity index 100% rename from cypress/support/index.js rename to cypress/support/e2e.js