getsentry / getsentry/sentry-javascript
Coverage config hides untested files
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 1.8k
- Merge medio
- 1g 17h
- PR unite (30g)
- 523
Descrizione
`vite/vite.config.ts` sets `coverage.enabled` and an `exclude` list, but not `all: true`. V8 coverage only reports files a test imported, so a source file with no test at all contributes nothing and shows no row. The Cloudflare 95.5% figure is over touched files only.
Files with no matching unit test today, by package: cloudflare 17, deno 21, bun 3, vercel-edge 3, hono 4, effect 2.
**Work item.** Set `coverage.all: true` in the base config and record the real baseline before setting any thresholds. Expect the reported numbers to drop.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with vite/vite.config.ts and inspect the existing coverage.enabled and exclude settings. Enable all-file coverage, run the package coverage checks, and record the resulting baseline before adding thresholds; done means untested source files appear in the report and the real baseline is documented.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript, vite
- Ambito
- testing-qa
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Attiva
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 78/100