From 30d186defd3f654640e43ee055248656c1bfcaca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Thu, 9 Jun 2022 01:26:19 +0200 Subject: [PATCH] test: test with latest `cypress` version --- cypress.config.js | 5 +++++ cypress.json | 3 --- cypress/{integration/find.spec.js => e2e/find.cy.js} | 0 cypress/plugins/index.js | 2 -- cypress/support/{index.js => e2e.js} | 0 package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 cypress.config.js delete mode 100644 cypress.json rename cypress/{integration/find.spec.js => e2e/find.cy.js} (100%) delete mode 100644 cypress/plugins/index.js rename cypress/support/{index.js => e2e.js} (100%) 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"