test: remove unused/unneeded jest dependencies

This commit is contained in:
鲁树人 2023-05-17 22:59:13 +01:00
parent 0db84813ad
commit 1e257c1ee3
3 changed files with 48 additions and 1385 deletions

View File

@ -30,12 +30,9 @@
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-replace": "^5.0.2", "@rollup/plugin-replace": "^5.0.2",
"@swc/core": "^1.3.58",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3", "@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.1",
"@types/node": "^20.1.1", "@types/node": "^20.1.1",
"@types/react": "^18.0.28", "@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11", "@types/react-dom": "^18.0.11",
@ -49,8 +46,7 @@
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.8.0",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.3.4", "eslint-plugin-react-refresh": "^0.3.4",
"jest": "^29.5.0", "jsdom": "^22.0.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.8", "prettier": "^2.8.8",
"typescript": "^5.0.2", "typescript": "^5.0.2",
"vite": "^4.3.2", "vite": "^4.3.2",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,9 @@
"DOM.Iterable", "DOM.Iterable",
"ESNext" "ESNext"
], ],
"types": [
"vitest/globals"
],
"module": "ESNext", "module": "ESNext",
"skipLibCheck": true, "skipLibCheck": true,
/* Bundler mode */ /* Bundler mode */