sveltejs/svelte
web development for the rest of us
1157152 ↗JavaScript★ 90,200 (+55 today)lists: javascriptvitest-dedup 0.11.0
- Tests analyzed
- 209
- in 39 files
- Compared
- 91.4%
- 18 tests could not be compared
- Findings
- 6
- 6 warnings
- Exact duplicates
- 0
- 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.
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
REGEX_VALID_TAG_NAME accepts common HTML tag names
packages/svelte/src/utils.test.ts:4–10 ↗REGEX_VALID_TAG_NAME accepts basic custom element names
packages/svelte/src/utils.test.ts:12–18 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
REGEX_VALID_TAG_NAME accepts basic custom element names
packages/svelte/src/utils.test.ts:12–18 ↗REGEX_VALID_TAG_NAME accepts spec-allowed custom element characters
packages/svelte/src/utils.test.ts:20–33 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
URLSearchParams.set updates when duplicate values collapse to the same joined string
packages/svelte/src/reactivity/url-search-params.test.ts:58–75 ↗URLSearchParams.set updates when duplicate values collapse to the same comma-joined string
packages/svelte/src/reactivity/url-search-params.test.ts:77–94 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
parseCss > parses multiple rules
packages/svelte/tests/css-parse.test.ts:31–34 ↗parseCss > parses whitespace-only stylesheet
packages/svelte/tests/css-parse.test.ts:66–69 ↗
Findings by rule
- Near-duplicate test3
- Parameterization candidate3
Not compared
- context could not be resolved15
- imported helper unreadable3
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-12-03 | 7 | 1157152 | 0.11.0 | 209 | 91.4% | 6 | 0 |
| 2026-12-02 | 8 | 3f18512 | 0.11.0 | 176 | 92.6% | 6 | 0 |
| 2026-12-01 | 6 | bb1b201 | 0.11.0 | 168 | 92.3% | 6 | 0 |
| 2026-11-30 | 4 | 0f61bdd | 0.11.0 | 166 | 93.4% | 6 | 0 |
| 2026-11-29 | 5 | 2fb7aa8 | 0.11.0 | 166 | 93.4% | 6 | 0 |
| 2026-11-28 | 7 | fd610a2 | 0.11.0 | 163 | 85.3% | 4 | 0 |
| 2026-11-27 | 8 | 35753ba | 0.11.0 | 163 | 85.3% | 4 | 0 |
| 2026-11-26 | 4 | f076077 | 0.11.0 | 163 | 85.3% | 4 | 0 |
| 2026-11-25 | 8 | e7ef546 | 0.11.0 | 163 | 85.3% | 4 | 0 |
| 2026-11-24 | 7 | 1aadba4 | 0.11.0 | 155 | 84.5% | 4 | 0 |
| 2026-11-23 | 4 | 90ad4e8 | 0.11.0 | 155 | 84.5% | 4 | 0 |
| 2026-11-22 | 9 | 90ad4e8 | 0.10.0 | 155 | 80% | 4 | 0 |
| 2026-11-21 | 6 | 04c5d8d | 0.10.0 | 155 | 80% | 4 | 0 |
| 2026-11-20 | 3 | a0823d9 | 0.10.0 | 135 | 87.4% | 4 | 0 |
| 2026-11-19 | 2 | a0823d9 | 0.10.0 | 135 | 87.4% | 4 | 0 |
| 2026-11-18 | 9 | 0de3934 | 0.10.0 | 135 | 87.4% | 4 | 0 |
| 2026-11-17 | 6 | 99c0745 | 0.10.0 | 135 | 87.4% | 4 | 0 |
| 2026-11-13 | 8 | 0156c5f | 0.10.0 | 135 | 87.4% | 4 | 0 |
| 2026-11-08 | 11 | 7775f73 | 0.10.0 | 131 | 87% | 4 | 0 |
| 2026-11-07 | 9 | 7775f73 | 0.10.0 | 131 | 87% | 4 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/sveltejs/svelte.git
cd svelte
git checkout 11571529cb04926ed801491800ddd380a9a2124c
npx [email protected] .