We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2082fab commit ff35d06Copy full SHA for ff35d06
vitest.config.ts
@@ -9,10 +9,10 @@ export default defineConfig({
9
coverage: {
10
reporter: ["text", "lcov"],
11
thresholds: {
12
- lines: 50,
13
- functions: 50,
14
- statements: 50,
15
- branches: 50,
+ lines: process.env.COVERAGE_LINES ? parseInt(process.env.COVERAGE_LINES, 10) : 50,
+ functions: process.env.COVERAGE_FUNCTIONS ? parseInt(process.env.COVERAGE_FUNCTIONS, 10) : 50,
+ statements: process.env.COVERAGE_STATEMENTS ? parseInt(process.env.COVERAGE_STATEMENTS, 10) : 50,
+ branches: process.env.COVERAGE_BRANCHES ? parseInt(process.env.COVERAGE_BRANCHES, 10) : 50,
16
},
17
18
0 commit comments