diff --git a/packages/core/devtools/package.json b/packages/core/devtools/package.json index 2c3b8762d..60d7efd52 100644 --- a/packages/core/devtools/package.json +++ b/packages/core/devtools/package.json @@ -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", diff --git a/packages/core/test/package.json b/packages/core/test/package.json index d47435450..0fc21032e 100644 --- a/packages/core/test/package.json +++ b/packages/core/test/package.json @@ -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", diff --git a/packages/core/test/vitest.mjs b/packages/core/test/vitest.mjs index e0181e088..a37d4aa25 100644 --- a/packages/core/test/vitest.mjs +++ b/packages/core/test/vitest.mjs @@ -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}', ],