Skip to content

fix: Only check free tier limits if billing is enabled #69

fix: Only check free tier limits if billing is enabled

fix: Only check free tier limits if billing is enabled #69

Triggered via push December 9, 2025 13:27
Status Failure
Total duration 4m 26s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
Test Suite
Process completed with exit code 1.
apps/api/src/services/__tests__/BillingLimitService.test.ts > BillingLimitService - Critical Enforcement > Free Tier Total Limit (1000 emails/month across all types) > should enforce 1000 email total limit for free tier projects: apps/api/src/services/__tests__/BillingLimitService.test.ts#L477
AssertionError: promise resolved "{ …(29) }" instead of rejecting - Expected + Received - Error { - "message": "rejected promise", + { + "attachments": null, + "body": "Test", + "bouncedAt": null, + "campaignId": null, + "clickedAt": null, + "clicks": 0, + "complainedAt": null, + "contactId": "0b0f9241-885c-48e5-b5fa-d34b04bf5555", + "createdAt": 2025-12-09T13:29:12.529Z, + "deliveredAt": null, + "error": null, + "from": "test@example.com", + "fromName": null, + "headers": null, + "id": "c07812f7-f8c4-40db-ae1a-7a91301e773c", + "messageId": null, + "openedAt": null, + "opens": 0, + "projectId": "a3ca9e01-37b0-4250-b3ce-930f4c84db06", + "replyTo": null, + "sentAt": null, + "sourceType": "WORKFLOW", + "status": "PENDING", + "subject": "Test", + "templateId": null, + "toName": null, + "updatedAt": 2025-12-09T13:29:12.529Z, + "workflowExecutionId": null, + "workflowStepExecutionId": null, } ❯ apps/api/src/services/__tests__/BillingLimitService.test.ts:477:7
Lint & Type Check: apps/web/src/components/BillingLimits.tsx#L53
'error' is defined but never used
Lint & Type Check: apps/web/src/components/BillingLimits.tsx#L1
'useCallback' is defined but never used
Lint & Type Check: apps/api/src/controllers/Users.ts#L466
Unexpected any. Specify a different type
Test Suite
No files were found with the provided path: coverage/ **/*.test.ts.log. No artifacts will be uploaded.