macro-inc/macro
Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
28ef4f2 ↗Rust★ 5,905 (+57 today)lists: allvitest-dedup 0.9.0
- Tests analyzed
- 19,609
- in 2,568 files
- Compared
- 94.5%
- 1,088 tests could not be compared
- Findings
- 370
- 366 warnings
- Exact duplicates
- 4
- 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.
createEntitySearchConfig > should boost current user (self) to top with high boost value
apps/web/src/features/property/editors/selectors/entityUtils.test.ts:164–181 ↗createEntitySearchConfig > should prioritize self-boost over domain boost
apps/web/src/features/property/editors/selectors/entityUtils.test.ts:183–201 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
sortMobileMentions > does not pin stale users above much fresher docs
apps/web/src/lib/core/component/LexicalMarkdown/component/menu/MentionsMenu/utils/mobileSort.test.ts:123–135 ↗sortMobileMentions > top user pinning > no pinning when topUserCandidates is empty (default arg)
apps/web/src/lib/core/component/LexicalMarkdown/component/menu/MentionsMenu/utils/mobileSort.test.ts:313–325 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Testsuite for ArrayQueue > Queue should be empty after initialization
packages/collaboration/src/websocket/tests/queue/array-queue.test.ts:5–7 ↗Testsuite for ArrayQueue > IsEmpty should be true after initialization
packages/collaboration/src/websocket/tests/queue/array-queue.test.ts:90–92 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Testsuite for ArrayQueue > Peek should return the oldest element
packages/collaboration/src/websocket/tests/queue/array-queue.test.ts:127–133 ↗Testsuite for ArrayQueue > Peek should not remove the oldest element
packages/collaboration/src/websocket/tests/queue/array-queue.test.ts:135–141 ↗
- Near-duplicate testwarning
6 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.
parseThemeV2Json > returns null for JSON missing id
apps/web/src/features/theme/utils/__tests__/themeValidation.test.ts:65–69 ↗parseThemeV2Json > returns null for JSON missing name
apps/web/src/features/theme/utils/__tests__/themeValidation.test.ts:71–75 ↗parseThemeV2Json > returns null for JSON missing version
apps/web/src/features/theme/utils/__tests__/themeValidation.test.ts:77–81 ↗parseThemeV2Json > returns null for JSON missing depth
apps/web/src/features/theme/utils/__tests__/themeValidation.test.ts:83–87 ↗
and 2 more
Findings by rule
- Parameterization candidate358
- Near-duplicate test8
- Duplicate test4
Not compared
- context could not be resolved1,059
- imported helper unreadable2
- vi.mock factory unreadable27
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-31 | 9 | 28ef4f2 | 0.9.0 | 19,609 | 94.5% | 370 | 4 |
| 2026-10-29 | 9 | 57b60c8 | 0.9.0 | 19,229 | 94.7% | 370 | 4 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/macro-inc/macro.git
cd macro
git checkout 28ef4f26e77872cf622b5cca595ec76ae4b70923
npx [email protected] .