Skip to content

test: add unit tests for 4 services (achievements-notifications, achievements, analytics, batch-size-guard) #1158

test: add unit tests for 4 services (achievements-notifications, achievements, analytics, batch-size-guard)

test: add unit tests for 4 services (achievements-notifications, achievements, analytics, batch-size-guard) #1158

Status Failure
Total duration 1m 8s
Artifacts

ci.yml

on: pull_request
No build artifacts in git
5s
No build artifacts in git
validate
1m 3s
validate
security-scan
38s
security-scan
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 9 warnings
security-scan
Process completed with exit code 1.
validate
Process completed with exit code 1.
validate: src/achievements/achievements.service.spec.ts#L130
Replace `.fn()` with `⏎········.fn()⏎········`
validate: src/achievements/achievements.service.spec.ts#L61
Replace `⏎··achRepo:·any,⏎··progressRepo:·any,⏎··userAchRepo:·any,⏎` with `achRepo:·any,·progressRepo:·any,·userAchRepo:·any`
No build artifacts in git
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
security-scan
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
validate
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
validate: src/payments/providers/payment-provider.service.ts#L61
'metadata' is assigned a value but never used. Allowed unused args must match /^_/u
validate: src/payments/providers/payment-provider.service.ts#L41
'metadata' is assigned a value but never used. Allowed unused args must match /^_/u
validate: src/migrations/1599999999999-BaselineSchema.ts#L2313
'queryRunner' is defined but never used. Allowed unused args must match /^_/u
validate: src/email-marketing/automation/automation.service.ts#L25
'validateWebhookUrl' is defined but never used. Allowed unused vars must match /^_/u
validate: src/auth/auth.controller.ts#L23
'Tenant' is defined but never used. Allowed unused vars must match /^_/u
validate: src/achievements/achievements.seed.ts#L2
'Logger' is defined but never used. Allowed unused vars must match /^_/u