Skip to content
VitestDedup

toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

b4b78cb ↗TypeScript★ 82,128 (+448 today)lists: all, typescriptvitest-dedup 0.11.0

Tests analyzed
2,079
in 655 files
Compared
96.1%
81 tests could not be compared
Findings
87
87 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.

  1. Cross-file duplicatewarning

    2 tests across 2 files have identical bodies under an equivalent context.

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

  3. Duplicate test namewarning

    2 tests in this file share the full title "schema > should be able to validate schema by role".

  4. Parameterization candidatewarning

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

    and 13 more

  5. Parameterization candidatewarning

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

    and 8 more

Findings by rule

  • Parameterization candidate84
  • Duplicate test name1
  • Cross-file duplicate1
  • Near-duplicate test1

Not compared

  • context could not be resolved42
  • imported helper unreadable32
  • registered-elsewhere5
  • unsupported-benchmark2

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

Appearances

DayRankCommitVersionTestsComparedFindingsDuplicates
2026-12-032b4b78cb0.11.02,07996.1%870
2026-12-0225b779b40.11.02,06296.1%870
2026-12-0127e270870.11.02,03796%870
2026-11-3020cb3eca0.11.02,03796%870
2026-11-2925488caa0.11.02,02196%870
2026-11-282bae99fc0.11.02,02096%870
2026-11-2725444d920.11.02,01896%870
2026-11-262a580c920.11.02,01796%870
2026-11-25281da59d0.11.02,01796%870
2026-11-242bb996d20.11.01,99296%870
2026-11-2328e549b00.11.01,92996.1%870
2026-11-2223d257270.10.01,92991.8%840
2026-11-212a2dbbec0.10.01,92391.9%840
2026-11-205dc2b2210.10.01,92291.9%840

Reproduce

The latest analysis, at the same commit and version:

git clone https://github.com/toeverything/AFFiNE.git
cd AFFiNE
git checkout b4b78cb0fd41c46a01c1cbc0ecf79565050ebb15
npx [email protected] .