refactoringhq/tolaria
Desktop app to manage markdown knowledge bases
9f764c1 ↗TypeScript★ 20,356 (+61 today)lists: typescriptvitest-dedup 0.8.0
- Tests analyzed
- 6,090
- in 668 files
- Compared
- 97.8%
- 135 tests could not be compared
- Findings
- 324
- 323 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.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
useVaultLoader > getNoteStatus > returns unsaved for paths in unsavedPaths
src/hooks/useVaultLoader.test.ts:628–638 ↗useVaultLoader > getNoteStatus > unsaved has higher priority than new
src/hooks/useVaultLoader.test.ts:640–651 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
slugify > converts text to lowercase kebab-case
src/hooks/useNoteCreation.extra.test.ts:50–52 ↗slugify > converts text to lowercase kebab-case
src/hooks/useNoteCreation.helpers.test.ts:28–30 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
slugify > removes special characters
src/hooks/useNoteCreation.extra.test.ts:54–56 ↗slugify > removes special characters
src/hooks/useNoteCreation.helpers.test.ts:36–38 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
slugify > handles empty string with fallback
src/hooks/useNoteCreation.extra.test.ts:62–64 ↗slugify > handles empty string with fallback
src/hooks/useNoteCreation.helpers.test.ts:40–42 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
generateUntitledName > returns base name when no conflicts
src/hooks/useNoteCreation.extra.test.ts:112–114 ↗generateUntitledName > returns base name when no conflicts
src/hooks/useNoteCreation.helpers.test.ts:68–70 ↗
Findings by rule
- Parameterization candidate315
- Cross-file duplicate6
- Redundant hook1
- Near-duplicate test1
- Duplicate test1
Not compared
- context could not be resolved135
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-10-27 | 7 | 9f764c1 | 0.8.0 | 6,090 | 97.8% | 324 | 1 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/refactoringhq/tolaria.git
cd tolaria
git checkout 9f764c163479f71fae37195c2102d391fed3bf3f
npx [email protected] .