calcom/cal.diy
Scheduling infrastructure for absolutely everyone.
0f19cc4 ↗TypeScript★ 49,403 (+60 today)lists: typescriptvitest-dedup 0.8.0
- Tests analyzed
- 3,624
- in 433 files
- Compared
- 87.3%
- 461 tests could not be compared
- Findings
- 313
- 296 warnings
- Exact duplicates
- 17
- 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.
/api/cron/calendar-subscriptions > Feature flag checks > should proceed when both cache and sync are enabled
apps/web/app/api/cron/calendar-subscriptions/__tests__/route.test.ts:118–137 ↗/api/cron/calendar-subscriptions > Subscription checking functionality > should successfully check for new subscriptions
apps/web/app/api/cron/calendar-subscriptions/__tests__/route.test.ts:141–160 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
shouldEnableApp > Apps without key schemas > should return true for apps that don't require keys
packages/app-store/_utils/validateAppKeys.test.ts:7–11 ↗shouldEnableApp > Apps without key schemas > should return true even if keys are null for apps without schemas
packages/app-store/_utils/validateAppKeys.test.ts:13–16 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
GoogleCalendarService credential handling > Delegation Credential Error handling > handles clientId not added to Google Workspace Admin Console error
packages/app-store/googlecalendar/lib/__tests__/CalendarService.auth.test.ts:209–231 ↗GoogleCalendarService credential handling > Delegation Credential Error handling > handles DelegationCredential authorization errors appropriately
packages/app-store/googlecalendar/lib/__tests__/CalendarService.auth.test.ts:233–255 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
shouldSkipAttendeeEmailWithSettings > Metadata check > should skip email when metadata has disableStandardEmails.all.attendee enabled
packages/emails/email-manager.test.ts:49–60 ↗shouldSkipAttendeeEmailWithSettings > Edge cases > should skip email when metadata disables attendee emails
packages/emails/email-manager.test.ts:74–85 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
shouldSkipAttendeeEmailWithSettings > Edge cases > should send email when organizationSettings is null
packages/emails/email-manager.test.ts:64–67 ↗shouldSkipAttendeeEmailWithSettings > Edge cases > should send email when metadata is undefined
packages/emails/email-manager.test.ts:69–72 ↗
Findings by rule
- Parameterization candidate281
- Duplicate test17
- Near-duplicate test14
- Duplicate test name1
Not compared
- globals setting undetermined284
- imported helper unreadable177
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-27 | 8 | 0f19cc4 | 0.8.0 | 3,624 | 87.3% | 313 | 17 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/calcom/cal.diy.git
cd cal.diy
git checkout 0f19cc46ef6b6426ee398c670575b3c96be7af9e
npx [email protected] .