Add test coverage config and badges

Configured Jest for improved test coverage reporting and threshold enforcement. Updated README with project time and test coverage badges. Added scripts to fix coverage report paths and generate badges. Updated dependencies to include necessary tools for coverage reporting. Bumped package version to 0.0.9.
This commit is contained in:
2024-08-16 12:01:45 +02:00
committed by Max P.
parent 187b39e7c5
commit 4a1229b344
6 changed files with 196 additions and 3 deletions

View File

@@ -1,3 +1,16 @@
### Project Time
![Time](https://waka.mpassarello.de/api/badge/MaxP/interval:any/project:TSinjex?label=Project%20time)
### Test Coverage
[Coverage Report..](https://pxammaxp.github.io/TSinjex/coverage/lcov-report/index.html)
| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-statements.svg) | ![Branches](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-branches.svg) | ![Functions](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-functions.svg) | ![Lines](https://pxammaxp.github.io/TSinjex/coverage/badges/badge-lines.svg) |
# TSinjex
## Configuration