n8n-io/n8n
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
7137010 ↗TypeScript★ 211,206 (+325 today)lists: all, typescriptvitest-dedup 0.10.0
- Tests analyzed
- 20,289
- in 9,091 files
- Compared
- 97.4%
- 527 tests could not be compared
- Findings
- 1,077
- 1,065 warnings
- Exact duplicates
- 12
- 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.
resolveCredentialSetupFixture > resolves the reserved `local` id to real-site mode
packages/@n8n/instance-ai/evaluations/__tests__/credential-setup-lane.test.ts:22–26 ↗resolveCredentialSetupFixture > resolves the reserved local id without touching a fixture
packages/@n8n/instance-ai/evaluations/__tests__/credential-setup-lane.test.ts:43–47 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
useSidebarLayout > initial setup > should return sidebarWidth from store
packages/frontend/editor-ui/src/app/composables/useSidebarLayout.test.ts:23–29 ↗useSidebarLayout > sidebarWidth sanitization > should keep a stored width within bounds as-is
packages/frontend/editor-ui/src/app/composables/useSidebarLayout.test.ts:159–165 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
indexedDbCache > should create cache instance and initialize empty
packages/frontend/editor-ui/src/app/plugins/cache.test.ts:32–36 ↗indexedDbCache > should return null for non-existent keys
packages/frontend/editor-ui/src/app/plugins/cache.test.ts:48–52 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AgentValidationTooltip — restricted node types > names a restricted tool in the preview copy
packages/frontend/editor-ui/src/features/agents/__tests__/AgentValidationTooltip.test.ts:397–404 ↗AgentValidationTooltip — restricted node types > keeps the restriction in the preview list, which excludes only channel and task issues
packages/frontend/editor-ui/src/features/agents/__tests__/AgentValidationTooltip.test.ts:427–436 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
extractExpressionsFromWorkflow > Should extract and resolve expressions with nodeType
packages/frontend/editor-ui/src/features/ai/assistant/composables/useAIAssistantHelpers.test.ts:1370–1395 ↗extractExpressionsFromWorkflow > Should include parameterPath for simple parameters
packages/frontend/editor-ui/src/features/ai/assistant/composables/useAIAssistantHelpers.test.ts:1953–1978 ↗
Findings by rule
- Parameterization candidate1,055
- Duplicate test12
- Near-duplicate test8
- Duplicate test name1
- Duplicate .each row1
Not compared
- registered-inside-function197
- registered-elsewhere105
- context could not be resolved192
- order-dependent-state26
- named-callback7
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-19 | 4 | 7137010 | 0.10.0 | 20,289 | 97.4% | 1,077 | 12 |
| 2026-11-13 | 3 | df043ec | 0.10.0 | 19,187 | 97.7% | 1,066 | 12 |
| 2026-10-31 | 6 | b5bab5a | 0.9.0 | 17,636 | 12.1% | 74 | 1 |
| 2026-10-29 | 8 | 9f84b4b | 0.9.0 | 17,153 | 11.4% | 72 | 1 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/n8n-io/n8n.git
cd n8n
git checkout 71370107b42e989a9759a5acdc6af604eb3120ac
npx [email protected] .