chore: remove legacy SSR checks and consolidate migration maintenance

This commit is contained in:
maoyingjie
2026-10-26 10:32:22 +08:00
parent 52a0bef851
commit 60af6ee40b
169 changed files with 958 additions and 8422 deletions
+1 -9
View File
@@ -1,4 +1,4 @@
import { configDefaults, defineConfig } from "vitest/config";
import { defineConfig } from "vitest/config";
import { docsDataPlugin } from "./apps/docs/.vitepress/docs-data";
import vue from "@vitejs/plugin-vue";
import { fileURLToPath, URL } from "node:url";
@@ -26,14 +26,6 @@ export default defineConfig({
test: {
environment: "jsdom",
include: ["tests/**/*.test.ts"],
// Client-only scope: legacy SSR/hydration files and mixed-file cases
// remain as historical material, outside default development/acceptance.
exclude: [
...configDefaults.exclude,
"**/*ssr.test.ts",
"**/*hydration.test.ts",
],
testNamePattern: /^(?!.*(?:\bssr\b|hydrat)).*$/i,
setupFiles: ["tests/setup/cssom.ts", "tests/setup/scroll.ts"],
},
});