mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 01:10:16 +08:00
fix:通过E2E测试
This commit is contained in:
@@ -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,
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user