google-gemini/gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
cd1b45c ↗TypeScript★ 108,386 (+658 today)lists: typescriptvitest-dedup 0.8.0
- Tests analyzed
- 15,845
- in 993 files
- Compared
- 95.2%
- 765 tests could not be compared
- Findings
- 1,047
- 1,006 warnings
- Exact duplicates
- 41
- 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.
loadCliConfig approval mode > should set YOLO approval mode when --yolo flag is used
packages/cli/src/config/config.test.ts:2697–2706 ↗loadCliConfig approval mode > should fall back to --yolo behavior when --approval-mode is not set
packages/cli/src/config/config.test.ts:2767–2776 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Override > should generate the correct output string for a disable override
packages/cli/src/config/extensions/extensionEnablement.test.ts:525–528 ↗Override > should disable a path based on a disable override rule
packages/cli/src/config/extensions/extensionEnablement.test.ts:530–533 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Environment Isolation > should respect --ignore-env flag
packages/cli/src/config/settings-env-isolation.test.ts:120–135 ↗Environment Isolation > should prioritize --ignore-env flag even if setting is false
packages/cli/src/config/settings-env-isolation.test.ts:205–220 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AppContainer State Management > Basic Rendering > renders without crashing with minimal props
packages/cli/src/ui/AppContainer.test.tsx:556–560 ↗AppContainer State Management > Context Providers > provides UIStateContext with state management
packages/cli/src/ui/AppContainer.test.tsx:959–963 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AppContainer State Management > Context Providers > provides UIStateContext with state management
packages/cli/src/ui/AppContainer.test.tsx:959–963 ↗AppContainer State Management > Context Providers > provides UIActionsContext with action handlers
packages/cli/src/ui/AppContainer.test.tsx:965–969 ↗
Findings by rule
- Parameterization candidate971
- Duplicate test41
- Near-duplicate test32
- Redundant hook1
- Duplicate test name1
- Duplicate .each row1
Not compared
- context could not be resolved741
- vi.mock factory unreadable14
- imported helper unreadable10
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-26 | 3 | cd1b45c | 0.8.0 | 15,845 | 95.2% | 1,047 | 41 |
| 2026-10-25 | 1 | cd1b45c | 0.7.0 | 14,235 | 94.4% | 942 | 35 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/google-gemini/gemini-cli.git
cd gemini-cli
git checkout cd1b45c2db0a5ea7b7fc3b67c1ba5879601d6005
npx [email protected] .