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
Add tests for auth, rewards, quizzes, and notifications API modules #536
src/lib/api/rewards.ts — Token balance fetching, reward claiming, claim history
src/lib/api/quizzes.ts — Quiz generation, submission, attempt history
src/lib/api/notifications.ts — Notification fetching, read status, mark all read
Why
The auth API is critical path — it handles the entire SEP-10 authentication flow. Rewards and quizzes are core product features. Untested API modules are prone to regression bugs when the backend contract changes.
Scope
Add tests for auth.ts: mock API client, test challenge/verify/refresh flows, test session CRUD
Add tests for rewards.ts: mock API client, test balance fetching, test claim flow, test history pagination
Add tests for quizzes.ts: mock API client, test quiz generation, submission, attempt retrieval
Add tests for notifications.ts: mock API client, test fetch, read status, mark all read
Follow existing patterns from src/lib/api/courses.test.ts
Congratulations, @osasfaith! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @osasfaith: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @osasfaith: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
ranjeetprabhatedu-dotcom commentedon Oct 14, 2026
Hello maintainers,
I reviewed "Add tests for auth, rewards, quizzes, and notifications API modules" and would like to work on this.
Technical Implementation Outline:
Please assign this issue to me. I will submit a clean, well-tested, and production-ready PR promptly!
The-medias-baby commentedon Oct 21, 2026
@The-medias-baby has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @The-medias-baby to this issue.
osasfaith commentedon Oct 22, 2026
@osasfaith has applied to work on this issue as part of the Stellar Wave Program's 10th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @osasfaith to this issue.
drips-wave commentedon Oct 22, 2026
Congratulations, @osasfaith! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.
🧑💻 @osasfaith: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
Add API tests for auth, rewards, and quizzes modules
grantfox-oss commentedon Oct 23, 2026
🎉 This issue has been marked as completed on GrantFox!
@osasfaith's PR #670 was approved and merged by @DeFiVC.
🏆 @osasfaith: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (802 total points). Track your full progress on GrantFox.
👏 Great work, @osasfaith! Keep contributing to ChainLearnOfficial.
drips-wave commentedon Oct 23, 2026
This issue has been completed by @osasfaith as part of the Stellar Wave Program's 10th Wave 🥳
😎 @osasfaith: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.