Skip to content

Commit

Permalink
build: Remove tests from frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
alimtunc committed Sep 8, 2023
1 parent 5c6e65e commit 31f4b1b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
4 changes: 0 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"preinstall": "npx only-allow pnpm",
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest run",
"preview": "vite preview",
"lint": "eslint ./src --ext .ts,.tsx && tsc --noemit",
"format": "prettier src/**/*.{ts,tsx} --write --loglevel error"
Expand Down Expand Up @@ -39,12 +38,9 @@
"swr": "^2.2.2",
"usehooks-ts": "^2.9.1",
"uuid": "^9.0.0",
"vitest": "^0.33.0",
"yup": "^1.2.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@types/draft-js": "^0.11.10",
"@types/lodash": "^4.14.197",
"@types/node": "^20.5.7",
Expand Down
9 changes: 0 additions & 9 deletions frontend/setup-tests.ts

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["@testing-library/jest-dom", "node"]
"types": ["node"]
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm exec ts-node ./cypress/support/e2e.ts && (cd frontend && pnpm run test)",
"test": "pnpm exec ts-node ./cypress/support/e2e.ts",
"prepare": "husky install",
"lintUi": "cd frontend && pnpm run lint",
"formatUi": "cd frontend && pnpm run format",
Expand Down

0 comments on commit 31f4b1b

Please sign in to comment.