| .. | ||
| README.md | ||
Unit Tests
This directory contains unit tests for the application. Unit tests should:
- Test individual functions and methods in isolation
- Mock external dependencies
- Be fast and reliable
- Cover edge cases and error conditions
Structure
controllers/- Tests for controller functionsservices/- Tests for service layer functionsutils/- Tests for utility functionsmodels/- Tests for database models
Running Tests
npm run test:unit