Skip to content

[LOW] — Service layer is largely untested; only app.controller.spec.ts exists across the entire src/ tree #20

Description

@Alqku

Severity: Low
Type: Testing
Scope: Repository-wide
Labels: testing, help wanted, Official Campaign

Description

A repository-wide search for *.spec.ts files confirms a single test file exists: src/app.controller.spec.ts. None of the services (DonationsService, CampaignsService, MilestonesService, UsersService, AdminService, StellarTransactionsService, SorobanService, NotificationsService, EmailService, StellarEventService) have unit tests. The e2e/ directory contains only app.e2e-spec.ts with no positive test coverage.

Given the complexity of the donation + campaign balance + refund flows (issues #1, #2, #8, #12, #15), the absence of regression tests materially increases the cost of safe changes.

Recommendation


Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignAudit finding under the Official Campaignhelp wantedExtra attention is neededtestingTest coverage, fuzzing, invariants

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions