完善 CI 质量门禁并启用覆盖率阈值
This commit is contained in:
@@ -19,6 +19,16 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
test: {
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "html"],
|
||||
thresholds: {
|
||||
statements: 57,
|
||||
branches: 50,
|
||||
functions: 47,
|
||||
lines: 60,
|
||||
},
|
||||
},
|
||||
projects: [
|
||||
{
|
||||
plugins: [react()],
|
||||
|
||||
Reference in New Issue
Block a user