Skip to content

Commit

Permalink
chore: fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Nov 13, 2024
1 parent 529ae61 commit 281b368
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "8.8.0",
"@typescript-eslint/parser": "8.8.0",
"@vitest/coverage-v8": "^2.1.2",
"concurrently": "9.0.1",
"cross-env": "7.0.3",
"eslint": "9.12.0",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"@tsed/monorepo-utils": "2.3.9",
"@tsed/typescript": "workspace:*",
"@tsed/vitest": "workspace:*",
"@vitest/coverage-v8": "^2.1.2",
"eslint": "9.12.0",
"typescript": "5.4.5",
"vite": "^5.4.8",
Expand Down
11 changes: 8 additions & 3 deletions packages/third-parties/components-scan/vitest.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ export default defineConfig(
...presets.test,
coverage: {
...presets.test.coverage,
exclude: [
...presets.test.coverage.exclude,
"**/isTsEnv.ts"
],
thresholds: {
statements: 100,
branches: 100,
branches: 94.44,
functions: 100,
lines: 100
lines: 100,

}
}
}
}
);
);
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6762,7 +6762,6 @@ __metadata:
"@tsed/monorepo-utils": "npm:2.3.9"
"@tsed/typescript": "workspace:*"
"@tsed/vitest": "workspace:*"
"@vitest/coverage-v8": "npm:^2.1.2"
eslint: "npm:9.12.0"
reflect-metadata: "npm:^0.2.2"
tslib: "npm:2.7.0"
Expand Down Expand Up @@ -8052,6 +8051,7 @@ __metadata:
"@types/supertest": "npm:6.0.2"
"@typescript-eslint/eslint-plugin": "npm:8.8.0"
"@typescript-eslint/parser": "npm:8.8.0"
"@vitest/coverage-v8": "npm:^2.1.2"
ajv: "npm:8.17.1"
axios: "npm:1.7.7"
change-case: "npm:5.4.4"
Expand Down

0 comments on commit 281b368

Please sign in to comment.