emdash-cms/emdash
EmDash is a full-stack TypeScript CMS based on Astro; the spiritual successor to WordPress
6ec1798 ↗TypeScript★ 13,952 (+36 today)lists: typescriptvitest-dedup 0.7.0
- Tests analyzed
- 15,338
- in 1,626 files
- Compared
- 95.8%
- 639 tests could not be compared
- Findings
- 632
- 627 warnings
- Exact duplicates
- 5
- 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.
admin auth: scheme + token edge cases > accepts canonical mixed-case Bearer (regression guard)
apps/aggregator/test/backfill.test.ts:1029–1035 ↗admin start route: auth + method > returns 204 on POST with valid token
apps/aggregator/test/backfill.test.ts:1074–1080 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
generateSchedulerModule > disables the timer for a Cloudflare production build (Cron Trigger drives it)
packages/core/tests/unit/astro/integration/virtual-modules.test.ts:102–106 ↗generateSchedulerModule > does not emit a detached timer inside Cloudflare local dev
packages/core/tests/unit/astro/integration/virtual-modules.test.ts:108–112 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
createVirtualModulesPlugin scheduler wiring > keeps the timer out of the Cloudflare worker during `astro dev`
packages/core/tests/unit/astro/integration/virtual-modules.test.ts:166–173 ↗createVirtualModulesPlugin scheduler wiring > disables the timer under the Cloudflare adapter for a production build
packages/core/tests/unit/astro/integration/virtual-modules.test.ts:175–182 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
PluginStorageRepository > get() > should return document after put
packages/core/tests/unit/plugins/plugin-storage.test.ts:46–58 ↗PluginStorageRepository > put() > should store new document
packages/core/tests/unit/plugins/plugin-storage.test.ts:62–74 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
resolveVersionStatus > enforcement: flag > returns published when code passes and no image audit
packages/marketplace/tests/resolve-version-status.test.ts:20–22 ↗resolveVersionStatus > null verdicts (no audit ran) > treats null image verdict as pass under flag
packages/marketplace/tests/resolve-version-status.test.ts:96–98 ↗
Findings by rule
- Parameterization candidate618
- Near-duplicate test8
- Duplicate test5
- Cross-file duplicate1
Not compared
- imported helper unreadable96
- context could not be resolved541
- vi.mock factory unreadable2
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-21 | 2 | 6ec1798 | 0.7.0 | 15,338 | 95.8% | 632 | 5 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/emdash-cms/emdash.git
cd emdash
git checkout 6ec17985513c4239dd1b16b2787c78d302e90584
npx [email protected] .