-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
backendBackend/API relatedBackend/API relatedgood-first-issueGood for newcomersGood for newcomerstestingTesting relatedTesting related
Description
Points: 100
Write comprehensive unit tests for the authentication service.
Test Coverage Needed:
- User registration with valid data
- User registration with duplicate email
- Login with correct credentials
- Login with incorrect credentials
- JWT token generation and validation
- Password hashing and verification
- Phone number validation (Nigerian format)
Files to create:
/packages/database/tests/auth.test.ts
Testing Framework: Jest
Target Coverage: 80%+
Want to work on this?
- Comment "I'd like to work on this!" to claim
- Wait for maintainer approval
- Fork the repo and create a branch
- Submit a PR when ready
Questions? Ask on Discord
🇳🇬 Part of Code for Change - Building technology that saves lives!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backendBackend/API relatedBackend/API relatedgood-first-issueGood for newcomersGood for newcomerstestingTesting relatedTesting related