CherryHQ/cherry-studio
Your AI workspace for models, agents, and productivity.
7c539ec ↗TypeScript★ 53,524 (+36 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 41,315
- in 3,141 files
- Compared
- 81.5%
- 7,663 tests could not be compared
- Findings
- 1,319
- 1,297 warnings
- Exact duplicates
- 22
- 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.
createFormulaEvaluator — result classification (contract §2 table) > classifies an unknown function call as unevaluated
packages/file-preview/src/plugins/spreadsheet/__tests__/formula.evaluator.test.ts:371–374 ↗createFormulaEvaluator — unknown functions > returns unevaluated for an unrecognized function name
packages/file-preview/src/plugins/spreadsheet/__tests__/formula.evaluator.test.ts:383–386 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
cancel > dequeues by id even when the snapshot does not list the prompt
src/main/ai/provider/custom/comfyui/__tests__/comfyuiTransport.cancel.test.ts:40–53 ↗cancel (capability-based) > still dequeues by id when the prompt is not in the queue
src/main/ai/provider/custom/comfyui/__tests__/comfyuiTransport.cancel.test.ts:193–203 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
desktop facts and approvals through the shared behavior gate > auto-allows read-only tools in default mode with no approval request
src/main/ai/runtime/pi/piApprovalFacts.test.ts:233–237 ↗desktop facts and approvals through the shared behavior gate > workspace path scoping for the auto-approve fast-path > still auto-allows a read with a relative in-workspace path
src/main/ai/runtime/pi/piApprovalFacts.test.ts:722–726 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AiStreamManager > steer chaining > a finished turn with a queued steer chains a continuation instead of finishing (no idle flicker)
src/main/ai/streamManager/__tests__/AiStreamManager.test.ts:3203–3222 ↗AiStreamManager > steer chaining > a finished turn with a queued steer chains a continuation instead of finishing (no idle flicker)
src/main/ai/streamManager/__tests__/AiStreamManager.test.ts:3500–3519 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AiStreamManager > steer chaining > drops a queued steer when the turn is aborted instead of chaining onto it
src/main/ai/streamManager/__tests__/AiStreamManager.test.ts:3245–3257 ↗AiStreamManager > steer chaining > drops a queued steer when the turn is aborted instead of chaining onto it
src/main/ai/streamManager/__tests__/AiStreamManager.test.ts:3532–3544 ↗
Findings by rule
- Parameterization candidate1,275
- Duplicate test22
- Near-duplicate test16
- Duplicate test name5
- Cross-file duplicate1
Not compared
- registered-elsewhere5,489
- context could not be resolved671
- imported helper unreadable1,361
- order-dependent-state73
- vi.mock factory unreadable69
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-11-15 | 7 | 7c539ec | 0.10.0 | 41,315 | 81.5% | 1,319 | 22 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/CherryHQ/cherry-studio.git
cd cherry-studio
git checkout 7c539ec25e75cb7f850b8ec729b03ee78617e069
npx [email protected] .