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.
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
Connector rendering with DOM renderer > should use DomRenderer when enable_dom_renderer flag is true
blocksuite/integration-test/src/__tests__/edgeless/connector-dom.spec.ts:79–83 ↗Shape rendering with DOM renderer > should use DomRenderer when enable_dom_renderer flag is true
blocksuite/integration-test/src/__tests__/edgeless/shape-dom.spec.ts:49–53 ↗
- 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.
preflightWebZipImport > rejects document count over web limit
packages/frontend/core/src/desktop/dialogs/import/web-limits.spec.ts:42–52 ↗preflightWebZipImport > counts html pages as web import documents
packages/frontend/core/src/desktop/dialogs/import/web-limits.spec.ts:54–64 ↗
- Duplicate test namewarning
2 tests in this file share the full title "schema > should be able to validate schema by role".
schema > should be able to validate schema by role
blocksuite/framework/store/src/__tests__/schema.unit.spec.ts:109–141 ↗schema > should be able to validate schema by role
blocksuite/framework/store/src/__tests__/schema.unit.spec.ts:163–185 ↗
- 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.
html to snapshot > code
blocksuite/affine/all/src/__tests__/adapters/html.unit.spec.ts:2020–2063 ↗html to snapshot > nested list
blocksuite/affine/all/src/__tests__/adapters/html.unit.spec.ts:2326–2390 ↗html to snapshot > p in list
blocksuite/affine/all/src/__tests__/adapters/html.unit.spec.ts:2460–2503 ↗html to snapshot > iframe
blocksuite/affine/all/src/__tests__/adapters/html.unit.spec.ts:2505–2539 ↗
and 13 more
- 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.
generateRenderDiff > should handle block insertion
packages/frontend/core/src/__tests__/ai/utils/apply-model/generate-render-diff.spec.ts:6–32 ↗generateRenderDiff > should handle block deletion
packages/frontend/core/src/__tests__/ai/utils/apply-model/generate-render-diff.spec.ts:34–52 ↗generateRenderDiff > should handle block replacement
packages/frontend/core/src/__tests__/ai/utils/apply-model/generate-render-diff.spec.ts:54–71 ↗generateRenderDiff > should handle mixed changes
packages/frontend/core/src/__tests__/ai/utils/apply-model/generate-render-diff.spec.ts:73–110 ↗
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
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-12-03 | 2 | b4b78cb | 0.11.0 | 2,079 | 96.1% | 87 | 0 |
| 2026-12-02 | 2 | 5b779b4 | 0.11.0 | 2,062 | 96.1% | 87 | 0 |
| 2026-12-01 | 2 | 7e27087 | 0.11.0 | 2,037 | 96% | 87 | 0 |
| 2026-11-30 | 2 | 0cb3eca | 0.11.0 | 2,037 | 96% | 87 | 0 |
| 2026-11-29 | 2 | 5488caa | 0.11.0 | 2,021 | 96% | 87 | 0 |
| 2026-11-28 | 2 | bae99fc | 0.11.0 | 2,020 | 96% | 87 | 0 |
| 2026-11-27 | 2 | 5444d92 | 0.11.0 | 2,018 | 96% | 87 | 0 |
| 2026-11-26 | 2 | a580c92 | 0.11.0 | 2,017 | 96% | 87 | 0 |
| 2026-11-25 | 2 | 81da59d | 0.11.0 | 2,017 | 96% | 87 | 0 |
| 2026-11-24 | 2 | bb996d2 | 0.11.0 | 1,992 | 96% | 87 | 0 |
| 2026-11-23 | 2 | 8e549b0 | 0.11.0 | 1,929 | 96.1% | 87 | 0 |
| 2026-11-22 | 2 | 3d25727 | 0.10.0 | 1,929 | 91.8% | 84 | 0 |
| 2026-11-21 | 2 | a2dbbec | 0.10.0 | 1,923 | 91.9% | 84 | 0 |
| 2026-11-20 | 5 | dc2b221 | 0.10.0 | 1,922 | 91.9% | 84 | 0 |
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] .