novuhq/novu
The open-source communication infrastructure for agents and products
6eb1303 ↗TypeScript★ 40,295 (+13 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 4,023
- in 923 files
- Compared
- 97.7%
- 94 tests could not be compared
- Findings
- 266
- 262 warnings
- Exact duplicates
- 4
- 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.
pickPackagesForTarget > installs @novu/api for an api-only workspace when the goal includes workflows
packages/novu/src/commands/wizard/pipeline/steps/install-packages.spec.ts:104–107 ↗pickPackagesForTarget > does NOT pull @react-email/components when @novu/framework is absent (no-code path)
packages/novu/src/commands/wizard/pipeline/steps/install-packages.spec.ts:142–145 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
getMessageId > should return undefined when event body is undefined
packages/providers/src/lib/email/brevo/brevo.provider.spec.ts:122–126 ↗parseEventBody > should return undefined when event body is undefined
packages/providers/src/lib/email/brevo/brevo.provider.spec.ts:150–154 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
getMessageId > should return undefined when event body is undefined
packages/providers/src/lib/email/ses/ses.provider.spec.ts:232–236 ↗parseEventBody > should return undefined when event body is undefined
packages/providers/src/lib/email/ses/ses.provider.spec.ts:260–264 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
FeatureFlagUtil > prepareBooleanStringFeatureFlag > should return true when provided value is true
packages/shared/src/services/feature-flags/feature-flags.util.spec.ts:14–16 ↗FeatureFlagUtil > prepareBooleanStringFeatureFlag > should return false when provided value is false
packages/shared/src/services/feature-flags/feature-flags.util.spec.ts:18–20 ↗
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
normalizeTagGroups > wraps flat tags as one OR-group
packages/js/src/utils/notification-utils.test.ts:12–14 ↗normalizeTagGroups > wraps flat string[] as one OR-group
packages/shared/src/utils/tags-filter.spec.ts:11–13 ↗
Findings by rule
- Parameterization candidate247
- Near-duplicate test9
- Duplicate test4
- Duplicate test name4
- Cross-file duplicate2
Not compared
- imported helper unreadable82
- context could not be resolved12
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-07 | 17 | 6eb1303 | 0.10.0 | 4,023 | 97.7% | 266 | 4 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/novuhq/novu.git
cd novu
git checkout 6eb1303372ef86a884ac5a2d0d9ed8f77587025b
npx [email protected] .