getsentry / getsentry/sentry-javascript

Coverage config hides untested files

オープン 初心者向け
#24,051 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Cloudflare Workers javascript Tests
主要言語
TypeScript
スター
8.7k
フォーク
1.8k
平均マージ
1日 17時間
マージ済み PR(30日)
523

説明

`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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript, vite
領域
testing-qa
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
明確に書かれている
初心者へのやさしさ
78/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。