You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[LOW] — Service layer is largely untested; only app.controller.spec.ts exists across the entire src/ tree #20
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
Cover the highest-risk service modules first: DonationsService, CampaignsService, MilestonesService, StellarTransactionsService, SorobanService. Mock prisma and Horizon/Soroban RPC.
Add e2e tests for POST /campaigns, POST /donations, POST /api-keys, and GET /campaigns/:id/stats.
Activity
Adeolu01 commentedon Jun 18, 2026
Hello miantainer, I'm a fullstack engr. and I have accessed this issue and I can resolve it. Please assign this issue to me.
grantfox-oss commentedon Jun 18, 2026
🦊 GrantFox — @Adeolu01 has been assigned to this issue as part of the Official Campaign campaign!
Next steps:
Closes #20)Good luck! Track your progress on GrantFox.
grantfox-oss commentedon Jun 20, 2026
🎉 This issue has been marked as completed on GrantFox as part of the Official Campaign campaign!
@Adeolu01's PR #27 was approved and merged by @Alqku.
🏆 @Adeolu01: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (48 total points). Track your full progress on GrantFox.
👏 Great work, @Adeolu01! Keep contributing to OrbitChainLabs.