Skip to content

Commit c397b85

Browse files
committed
upgrade cypress
1 parent 0ccafd7 commit c397b85

14 files changed

+18
-9
lines changed

cypress.config.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
const { defineConfig } = require('cypress');
2+
3+
module.exports = defineConfig({
4+
video: false,
5+
e2e: {
6+
// We've imported your old cypress plugins here.
7+
// You may want to clean this up later by importing these.
8+
setupNodeEvents(on, config) {
9+
return require('./cypress/plugins/index.js')(on, config);
10+
},
11+
baseUrl: 'http://localhost:4200',
12+
},
13+
});

cypress.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"copy-webpack-plugin": "^11.0.0",
8787
"css-loader": "^6.7.1",
8888
"css-minimizer-webpack-plugin": "^4.0.0",
89-
"cypress": "^9.7.0",
89+
"cypress": "^10.0.0",
9090
"directory-tree": "^3.3.0",
9191
"directory-tree-webpack-plugin": "^1.0.3",
9292
"duplexer": "^0.1.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4479,10 +4479,10 @@ csstype@^3.0.6:
44794479
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.6.tgz#865d0b5833d7d8d40f4e5b8a6d76aea3de4725ef"
44804480
integrity sha512-+ZAmfyWMT7TiIlzdqJgjMb7S4f1beorDbWbsocyK4RaiqA5RTX3K14bnBWmmA9QEM0gRdsjyyrEmcyga8Zsxmw==
44814481

4482-
cypress@^9.7.0:
4483-
version "9.7.0"
4484-
resolved "https://registry.yarnpkg.com/cypress/-/cypress-9.7.0.tgz#bf55b2afd481f7a113ef5604aa8b693564b5e744"
4485-
integrity sha512-+1EE1nuuuwIt/N1KXRR2iWHU+OiIt7H28jJDyyI4tiUftId/DrXYEwoDa5+kH2pki1zxnA0r6HrUGHV5eLbF5Q==
4482+
cypress@^10.0.0:
4483+
version "10.0.2"
4484+
resolved "https://registry.yarnpkg.com/cypress/-/cypress-10.0.2.tgz#6aeac1923d534f9850d57dad9496f9ea74034a23"
4485+
integrity sha512-7+C4KHYBcfZrawss+Gt5PlS35rfc6ySc59JcHDVsIMm1E/J35dqE41UEXpdtwIq3549umCerNWnFADzqib4kcA==
44864486
dependencies:
44874487
"@cypress/request" "^2.88.10"
44884488
"@cypress/xvfb" "^1.2.4"

0 commit comments

Comments
 (0)