storybookjs/storybook
Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
0cdcdc9 ↗TypeScript★ 91,639 (+23 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 15,799
- in 1,189 files
- Compared
- 97.9%
- 330 tests could not be compared
- Findings
- 1,099
- 1,066 warnings
- Exact duplicates
- 33
- 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.
updateConfigFile > adds projects property to test config
code/addons/vitest/src/updateVitestFile.config.4.test.ts:325–403 ↗updateConfigFile > adds projects property to test config
code/addons/vitest/src/updateVitestFile.config.4.test.ts:645–723 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
updateConfigFile > extracts coverage config and keeps it at top level when using workspace
code/addons/vitest/src/updateVitestFile.config.4.test.ts:1762–1860 ↗updateConfigFile > extracts coverage config and keeps it at top level when using projects
code/addons/vitest/src/updateVitestFile.config.4.test.ts:1862–1960 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
generateModernIframeScriptCodeFromPreviews > handle one annotation
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:9–39 ↗generateModernIframeScriptCodeFromPreviews > handle one annotation CSF4
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:41–71 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
generateModernIframeScriptCodeFromPreviews > handle one annotation CSF4
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:41–71 ↗generateModernIframeScriptCodeFromPreviews > handle multiple annotations
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:73–103 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
generateModernIframeScriptCodeFromPreviews > handle multiple annotations
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:73–103 ↗generateModernIframeScriptCodeFromPreviews > handle multiple annotations CSF4
code/builders/builder-vite/src/codegen-modern-iframe-script.test.ts:105–135 ↗
Findings by rule
- Parameterization candidate1,020
- Duplicate test33
- Near-duplicate test19
- Duplicate test name16
- Cross-file duplicate11
Not compared
- context could not be resolved222
- registered-elsewhere39
- imported helper unreadable34
- order-dependent-state23
- registered-inside-function11
- named-callback1
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 | 14 | 0cdcdc9 | 0.10.0 | 15,799 | 97.9% | 1,099 | 33 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/storybookjs/storybook.git
cd storybook
git checkout 0cdcdc9c2552760b66339943dfd83a2de587c269
npx [email protected] .