github/docs
The open-source repo for docs.github.com
17d6ee5 ↗TypeScript★ 21,318 (+134 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 3,975
- in 431 files
- Compared
- 88.2%
- 470 tests could not be compared
- Findings
- 364
- 360 warnings
- Exact duplicates
- 4
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
REST transformer > API version is mentioned in auth note
src/article-api/tests/rest-transformer.ts:113–118 ↗REST transformer > Missing apiVersion defaults to latest
src/article-api/tests/rest-transformer.ts:206–211 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
REST transformer > Code examples include specified API version in auth note
src/article-api/tests/rest-transformer.ts:120–125 ↗REST transformer > Valid apiVersion passes validation
src/article-api/tests/rest-transformer.ts:199–204 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
buildMiniTocFromCollected > creates empty toc
src/frame/tests/mini-toc-items.ts:47–50 ↗buildMiniTocFromCollected > returns empty for no headings
src/frame/tests/mini-toc-items.ts:95–98 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
sidebar custom links > page without sidebarLink frontmatter does not show custom link
src/landings/tests/sidebar-custom-links.ts:14–20 ↗sidebar custom links > sidebar custom link does not appear on unrelated pages
src/landings/tests/sidebar-custom-links.ts:71–77 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
enterprise deprecation > redirects language-prefixed requests for deprecated enterprise content
src/archives/tests/deprecated-enterprise-versions.ts:10–14 ↗redirects > <2.12 deprecated enterprise > english language code redirects to no language code
src/redirects/tests/redirects.ts:238–242 ↗
Findings by rule
- Parameterization candidate345
- Near-duplicate test9
- Duplicate test4
- Cross-file duplicate3
- Duplicate test name3
Not compared
- context could not be resolved442
- imported helper unreadable28
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-11-06 | 6 | 17d6ee5 | 0.9.0 | 3,975 | 88.2% | 364 | 4 |
| 2026-10-28 | 9 | 3869fae | 0.9.0 | 3,955 | 88.1% | 363 | 4 |
| 2026-10-23 | 7 | f49817d | 0.7.0 | 3,496 | 86.7% | 327 | 4 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/github/docs.git
cd docs
git checkout 17d6ee52f965e7c46f74b4339d5fa1ad6f4f4493
npx [email protected] .