Skip to content

Commit

Permalink
chore: delete cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jun 10, 2023
1 parent f2dbb41 commit a377683
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 730 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
dist
node_modules
**/*.cy.js
**/*.yml
**/*.yaml
21 changes: 0 additions & 21 deletions apps/frontend/cypress.config.ts

This file was deleted.

28 changes: 0 additions & 28 deletions apps/frontend/cypress/e2e/1-getting-started/todo.cy.js

This file was deleted.

5 changes: 0 additions & 5 deletions apps/frontend/cypress/fixtures/example.json

This file was deleted.

38 changes: 0 additions & 38 deletions apps/frontend/cypress/support/commands.ts

This file was deleted.

12 changes: 0 additions & 12 deletions apps/frontend/cypress/support/component-index.html

This file was deleted.

71 changes: 0 additions & 71 deletions apps/frontend/cypress/support/component.ts

This file was deleted.

20 changes: 0 additions & 20 deletions apps/frontend/cypress/support/e2e.ts

This file was deleted.

10 changes: 1 addition & 9 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "pnpm test-unit-run",
"test-unit": "vitest",
"test-component": "cypress open --component",
"test-e2e": "cross-env NODE_ENV=developer cypress open --e2e",
"test-unit-run": "vitest --run",
"test-component-run": "cypress run --component",
"test-e2e-run": "cross-env NODE_ENV=developer cypress run --e2e"
"test": "vitest"
},
"dependencies": {
"@imengyu/vue3-context-menu": "^1.1.10",
Expand All @@ -40,8 +34,6 @@
"@vue/test-utils": "^2.2.10",
"@vueuse/core": "^9.10.0",
"cross-env": "^7.0.3",
"cypress": "^12.3.0",
"cypress-promise": "^1.1.0",
"flush-promises": "^1.0.2",
"happy-dom": "^8.1.3",
"typescript": "^4.9.5",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"node": ">=16.14.0"
},
"scripts": {
"bootstrap": "cross-env CYPRESS_INSTALL_BINARY=0 pnpm i",
"bootstrap": "pnpm i",
"dev:fe": "pnpm -F frontend dev",
"dev:be": "pnpm -F backend start",
"dev:be": "pnpm -F backend start:dev",
"docker:be": "pnpm -F backend docker:start",
"build:fe": "pnpm -F frontend build",
"build": "turbo build",
"test": "pnpm -F frontend test && pnpm -F backend test && pnpm -F backend test:e2e",
Expand Down
Loading

0 comments on commit a377683

Please sign in to comment.