config(vitest): fixer le seuil de coverage à 80%
This commit is contained in:
1 parent
03f03f7ad2
commit
fc859de030
1 file changed
+6
@@ -14,6 +14,12 @@ export default defineConfig({
|
|||||||
coverage: {
|
coverage: {
|
||||||
provider: 'v8',
|
provider: 'v8',
|
||||||
reporter: ['text', 'html', 'lcov'],
|
reporter: ['text', 'html', 'lcov'],
|
||||||
|
thresholds: {
|
||||||
|
statements: 80,
|
||||||
|
branches: 80,
|
||||||
|
functions: 80,
|
||||||
|
lines: 80,
|
||||||
|
},
|
||||||
include: ['src/**/*.{ts,tsx}'],
|
include: ['src/**/*.{ts,tsx}'],
|
||||||
exclude: [
|
exclude: [
|
||||||
'src/**/*.test.{ts,tsx}',
|
'src/**/*.test.{ts,tsx}',
|
||||||
|
|||||||
Reference in new issue
Block a user