diff --git a/cypress.config.ts b/cypress.config.ts index c9a06fb..ec9bef0 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -3,6 +3,8 @@ import { defineConfig } from "cypress"; export default defineConfig({ e2e: { baseUrl: "http://localhost:4321", + specPattern: "src/tests/e2e/**/*.cy.{js,jsx,ts,tsx}", + supportFile: "src/tests/e2e/support.ts", fixturesFolder: false, screenshotOnRunFailure: false, video: false, diff --git a/cypress/e2e/blog.cy.js b/src/tests/e2e/blog.cy.js similarity index 100% rename from cypress/e2e/blog.cy.js rename to src/tests/e2e/blog.cy.js diff --git a/cypress/e2e/footer.cy.js b/src/tests/e2e/footer.cy.js similarity index 100% rename from cypress/e2e/footer.cy.js rename to src/tests/e2e/footer.cy.js diff --git a/cypress/e2e/header.cy.js b/src/tests/e2e/header.cy.js similarity index 100% rename from cypress/e2e/header.cy.js rename to src/tests/e2e/header.cy.js diff --git a/cypress/e2e/search.cy.js b/src/tests/e2e/search.cy.js similarity index 100% rename from cypress/e2e/search.cy.js rename to src/tests/e2e/search.cy.js diff --git a/cypress/e2e/services.cy.js b/src/tests/e2e/services.cy.js similarity index 100% rename from cypress/e2e/services.cy.js rename to src/tests/e2e/services.cy.js diff --git a/cypress/support/e2e.ts b/src/tests/e2e/support.ts similarity index 100% rename from cypress/support/e2e.ts rename to src/tests/e2e/support.ts diff --git a/src/tests/rss.test.js b/src/tests/unit/rss.test.js similarity index 100% rename from src/tests/rss.test.js rename to src/tests/unit/rss.test.js diff --git a/src/tests/utils.test.js b/src/tests/unit/utils.test.js similarity index 100% rename from src/tests/utils.test.js rename to src/tests/unit/utils.test.js