fix:通过E2E测试

This commit is contained in:
2026-03-10 00:52:59 +08:00
parent cef68a95d9
commit d206c79c24
8 changed files with 43 additions and 33 deletions

View File

@@ -13,6 +13,7 @@ export default defineConfig({
globals: true,
environment: "jsdom",
setupFiles: ["./src/__tests__/setup.ts"],
include: ["src/__tests__/unit/**/*.test.ts", "src/__tests__/unit/**/*.spec.ts"],
coverage: {
provider: "v8",
reporter: ["text", "json", "html", "lcov"],
@@ -28,10 +29,12 @@ export default defineConfig({
"**/*.test.ts",
"electron/",
],
statements: 70,
branches: 70,
functions: 70,
lines: 70,
thresholds: {
statements: 70,
branches: 70,
functions: 70,
lines: 70,
}
},
},
});