docs: document testing and coverage requirements
This commit is contained in:
@ -43,8 +43,15 @@ The system allows you to:
|
||||
Run unit tests using Jest:
|
||||
```bash
|
||||
npm test
|
||||
```bash
|
||||
npm test
|
||||
```
|
||||
|
||||
### Code Quality Enforcement
|
||||
This project uses **Husky** to enforce code quality locally.
|
||||
- **Pre-commit Hook**: Runs tests on changed files before every commit.
|
||||
- **Coverage Requirement**: Modified files must maintain **80% code coverage**. Commits will be blocked if this threshold is not met.
|
||||
|
||||
## Project Structure
|
||||
|
||||
- `src/`: Source code (TypeScript)
|
||||
|
||||
Reference in New Issue
Block a user