vitest: Add threshold on vitest to check locally
This commit is contained in:
1 parent
4c2c7d51cf
commit
e5509ba49b
1 file changed
+6
@@ -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