Add coverage thresholds for all tested directories, exclude dist from coverage
Adds threshold entries for application, hooks, components, and components/ui directories. Ratchets existing thresholds to match actual coverage. Excludes **/dist/** from coverage to remove build output noise. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,19 +7,36 @@ export default defineConfig({
|
|||||||
coverage: {
|
coverage: {
|
||||||
provider: "v8",
|
provider: "v8",
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
exclude: ["**/dist/**"],
|
||||||
thresholds: {
|
thresholds: {
|
||||||
autoUpdate: true,
|
autoUpdate: true,
|
||||||
"packages/domain/src": {
|
"packages/domain/src": {
|
||||||
lines: 96,
|
lines: 99,
|
||||||
branches: 96,
|
branches: 97,
|
||||||
|
},
|
||||||
|
"packages/application/src": {
|
||||||
|
lines: 97,
|
||||||
|
branches: 94,
|
||||||
},
|
},
|
||||||
"apps/web/src/adapters": {
|
"apps/web/src/adapters": {
|
||||||
lines: 71,
|
lines: 72,
|
||||||
branches: 78,
|
branches: 78,
|
||||||
},
|
},
|
||||||
"apps/web/src/persistence": {
|
"apps/web/src/persistence": {
|
||||||
lines: 87,
|
lines: 90,
|
||||||
branches: 67,
|
branches: 71,
|
||||||
|
},
|
||||||
|
"apps/web/src/hooks": {
|
||||||
|
lines: 59,
|
||||||
|
branches: 85,
|
||||||
|
},
|
||||||
|
"apps/web/src/components": {
|
||||||
|
lines: 52,
|
||||||
|
branches: 64,
|
||||||
|
},
|
||||||
|
"apps/web/src/components/ui": {
|
||||||
|
lines: 73,
|
||||||
|
branches: 96,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user