chore: optimize jsdom and vitest configuration (#3269)

This commit is contained in:
Zeke Zhang 2023-12-27 17:29:07 +08:00 committed by GitHub
parent 1c3b5c1645
commit 80335aa23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,6 @@
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-glob": "^3.3.1",
"jsdom": "^16.0.0",
"lerna": "^4.0.0",
"prettier": "^3.0.0",
"pretty-format": "^24.0.0",

View File

@ -47,6 +47,7 @@
"@types/supertest": "^2.0.11",
"@vitejs/plugin-react": "^4.0.0",
"jsdom-worker": "^0.3.0",
"jsdom": "^16.0.0",
"mariadb": "^2.5.6",
"mockjs": "^1.1.0",
"mysql2": "^2.3.3",

View File

@ -57,6 +57,7 @@ export const defineConfig = (config = {}) => {
'**/lib/**',
'**/es/**',
'**/e2e/**',
'**/__e2e__/**',
'**/{vitest,commitlint}.config.*',
'packages/**/{dumi-theme-nocobase,sdk,client}/**/__tests__/**/*.{test,spec}.{ts,tsx}',
],