diff --git a/cypress.config.js b/cypress.config.js new file mode 100644 index 0000000..d759e85 --- /dev/null +++ b/cypress.config.js @@ -0,0 +1,5 @@ +const {defineConfig} = require('cypress') + +module.exports = defineConfig({ + video: false, +}) diff --git a/cypress.json b/cypress.json deleted file mode 100644 index 60ed5aa..0000000 --- a/cypress.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "video": false -} diff --git a/cypress/integration/find.spec.js b/cypress/e2e/find.cy.js similarity index 100% rename from cypress/integration/find.spec.js rename to cypress/e2e/find.cy.js diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js deleted file mode 100644 index 07dd7dd..0000000 --- a/cypress/plugins/index.js +++ /dev/null @@ -1,2 +0,0 @@ -// Keeping this file here, otherwise it gets recreated by Cypress on each run. -module.exports = () => {} 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 diff --git a/package.json b/package.json index 407c2e3..934e4da 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@testing-library/dom": "^8.1.0" }, "devDependencies": { - "cypress": "^8.0.0", + "cypress": "^10.0.0", "kcd-scripts": "^11.2.0", "npm-run-all": "^4.1.5", "typescript": "^4.3.5"