vitest: Add threshold on vitest to check locally
This commit is contained in:
@@ -25,6 +25,12 @@ export default defineConfig((configEnv) =>
|
|||||||
"src/utils/test-fixtures.ts",
|
"src/utils/test-fixtures.ts",
|
||||||
"playwright/**",
|
"playwright/**",
|
||||||
],
|
],
|
||||||
|
thresholds: {
|
||||||
|
lines: 80,
|
||||||
|
functions: 80,
|
||||||
|
branches: 80,
|
||||||
|
statements: 80,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user