Skip to content

test: add unit tests for rubrics service #1164

test: add unit tests for rubrics service

test: add unit tests for rubrics service #1164

Re-run triggered August 28, 2026 06:53
Status Failure
Total duration 1m 4s
Artifacts

ci.yml

on: pull_request
No build artifacts in git
4s
No build artifacts in git
validate
58s
validate
security-scan
31s
security-scan
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
security-scan
Process completed with exit code 1.
validate
Process completed with exit code 1.
validate: src/assessment/grading/rubrics.service.spec.ts#L284
Replace `expect.objectContaining({·autoGradeEnabled:·true·})` with `⏎········expect.objectContaining({·autoGradeEnabled:·true·}),⏎······`
validate: src/assessment/grading/rubrics.service.spec.ts#L272
Replace `BadRequestException` with `⏎········BadRequestException,⏎······`
validate: src/assessment/grading/rubrics.service.spec.ts#L261
Replace `ForbiddenException` with `⏎········ForbiddenException,⏎······`
validate: src/assessment/grading/rubrics.service.spec.ts#L206
Replace `·id:·'c2',·orderIndex:·2,·levels:·[{·id:·'l2',·orderIndex:·2·},·{·id:·'l1',·orderIndex:·1·}]` with `⏎············id:·'c2',⏎············orderIndex:·2,⏎············levels:·[⏎··············{·id:·'l2',·orderIndex:·2·},⏎··············{·id:·'l1',·orderIndex:·1·},⏎············],⏎·········`
validate: src/assessment/grading/rubrics.service.spec.ts#L70
Replace `·v.id·=·'l1';·return·v;` with `⏎··········v.id·=·'l1';⏎··········return·v;⏎·······`
validate: src/assessment/grading/rubrics.service.spec.ts#L66
Replace `·v.id·=·'c1';·return·v;` with `⏎··········v.id·=·'c1';⏎··········return·v;⏎·······`
validate: src/assessment/grading/rubrics.service.spec.ts#L61
Replace `·v.id·=·'r1';·return·v;` with `⏎··········v.id·=·'r1';⏎··········return·v;⏎·······`
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