Replace Jest with vitest

This commit is contained in:
Matthias 2023-04-11 06:38:04 +02:00
parent 100de61ab2
commit cd6553a400
2 changed files with 497 additions and 2063 deletions

View File

@ -6,7 +6,7 @@
"serve": "vite", "serve": "vite",
"dev": "vite", "dev": "vite",
"build": "vite build", "build": "vite build",
"test:unit": "jest", "test:unit": "vitest",
"check-types": "vue-tsc --noEmit", "check-types": "vue-tsc --noEmit",
"lint": "eslint --ext .ts,vue src tests", "lint": "eslint --ext .ts,vue src tests",
"lint-ci": "eslint --no-fix --ext .ts,vue src tests", "lint-ci": "eslint --no-fix --ext .ts,vue src tests",
@ -43,7 +43,6 @@
"@cypress/vite-dev-server": "^5.0.5", "@cypress/vite-dev-server": "^5.0.5",
"@cypress/vue": "^5.0.5", "@cypress/vue": "^5.0.5",
"@types/echarts": "^4.9.16", "@types/echarts": "^4.9.16",
"@types/jest": "^27.5.0",
"@typescript-eslint/eslint-plugin": "^2.33.0", "@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^5.57.1", "@typescript-eslint/parser": "^5.57.1",
"@vitejs/plugin-vue": "^2.3.4", "@vitejs/plugin-vue": "^2.3.4",
@ -56,16 +55,14 @@
"eslint": "^6.7.2", "eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-vue": "^7.20.0", "eslint-plugin-vue": "^7.20.0",
"jest": "^27.5.1",
"mutationobserver-shim": "^0.3.7", "mutationobserver-shim": "^0.3.7",
"portal-vue": "^3.0.0", "portal-vue": "^3.0.0",
"prettier": "^2.8.7", "prettier": "^2.8.7",
"sass": "^1.60.0", "sass": "^1.60.0",
"sass-loader": "^13.2.2", "sass-loader": "^13.2.2",
"ts-jest": "^27.1.4",
"typescript": "~4.9.5", "typescript": "~4.9.5",
"vite": "^2.9.14", "vite": "^2.9.14",
"vite-jest": "^0.1.4", "vitest": "^0.30.0",
"vue-tsc": "^1.2.0" "vue-tsc": "^1.2.0"
} }
} }

2553
yarn.lock

File diff suppressed because it is too large Load Diff