Skip to content
VitestDedup

CodeWithCJ/SparkyFitness

SparkyFitness: Built for Families. Powered by AI. Track food, fitness, water, and health — together.

2aa2e9b ↗TypeScript★ 6,636 (+30 today)lists: typescriptvitest-dedup 0.9.0

Tests analyzed
8,142
in 1,744 files
Compared
96.6%
278 tests could not be compared
Findings
260
259 warnings
Exact duplicates
1
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.

  1. Duplicate testerror

    2 tests have identical bodies under an equivalent context.

  2. Redundant hookwarning

    a nested afterEach repeats the work another afterEach earlier in its chain already performs.

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

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

  5. Parameterization candidatewarning

    7 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 7 tests form one cluster, reported as a single finding instead of 21 pairwise findings (spanni.

    and 3 more

Findings by rule

  • Parameterization candidate256
  • Near-duplicate test2
  • Duplicate test1
  • Redundant hook1

Not compared

  • context could not be resolved226
  • imported helper unreadable52

No finding is reported for these tests, which does not mean they have no duplicates.

Appearances

DayRankCommitVersionTestsComparedFindingsDuplicates
2026-11-01132aa2e9b0.9.08,14296.6%2601

Reproduce

The latest analysis, at the same commit and version:

git clone https://github.com/CodeWithCJ/SparkyFitness.git
cd SparkyFitness
git checkout 2aa2e9bdeafd57b20a69fb100dccfc4e24e608c9
npx [email protected] .