test: update cypress (#3908)
* test: update cypress * chore: comment on infura origin * test: split build and serve * chore: rm setupNodeEvents
Showing
cypress.config.ts
0 → 100644
cypress.json
deleted
100644 → 0
File moved
File moved
| ... | @@ -16,19 +16,17 @@ | ... | @@ -16,19 +16,17 @@ |
| "prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | "prepare": "yarn contracts:compile && yarn graphql:generate && yarn i18n:compile", | ||
| "start": "react-scripts start", | "start": "react-scripts start", | ||
| "build": "react-scripts build", | "build": "react-scripts build", | ||
| "serve": "serve build -l 3000", | |||
| "test": "react-scripts test --coverage", | "test": "react-scripts test --coverage", | ||
| "build:e2e": "env-cmd -f .env yarn build", | "cypress": "cypress" | ||
| "test:e2e": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress open'", | |||
| "test:e2e:ci": "start-server-and-test 'serve build -l 3000' http://localhost:3000 'cypress run --record'" | |||
| }, | }, | ||
| "jest": { | "jest": { | ||
| "collectCoverageFrom": | "collectCoverageFrom": [ | ||
| [ | "src/components/**/*.ts*", | ||
| "src/components/**/*.ts*", | "src/hooks/**/*.ts*", | ||
| "src/hooks/**/*.ts*", | "src/lib/hooks/**/*.ts*", | ||
| "src/lib/hooks/**/*.ts*", | "src/lib/state/**/*.ts*", | ||
| "src/lib/state/**/*.ts*", | "src/lib/utils/**/*.ts*", | ||
| "src/lib/utils/**/*.ts*", | |||
| "src/pages/**/*.ts*", | "src/pages/**/*.ts*", | ||
| "src/state/**/*.ts*", | "src/state/**/*.ts*", | ||
| "src/utils/**/*.ts*" | "src/utils/**/*.ts*" | ||
| ... | @@ -128,7 +126,7 @@ | ... | @@ -128,7 +126,7 @@ |
| "array.prototype.flatmap": "^1.2.4", | "array.prototype.flatmap": "^1.2.4", | ||
| "cids": "^1.0.0", | "cids": "^1.0.0", | ||
| "copy-to-clipboard": "^3.2.0", | "copy-to-clipboard": "^3.2.0", | ||
| "cypress": "^7.7.0", | "cypress": "^10.1.0", | ||
| "d3": "^7.0.0", | "d3": "^7.0.0", | ||
| "env-cmd": "^10.1.0", | "env-cmd": "^10.1.0", | ||
| "eslint": "^7.11.0", | "eslint": "^7.11.0", | ||
| ... | ... |
Please register or sign in to comment