Commit 19446ce
authored
test(generator): add coverage for tower top white highlight on count > 5 (JhaSourav07#429)
## Description
Fixes JhaSourav07#404
- Added focused `test coverage` for the `tower-top white highlight
rendering` in `generateSVG`, verifying it appears when
`contributionCount > 5`.
- Added a complementary `negative test` to ensure the highlight is not
rendered when all contribution counts are ≤ 5, improving regression
safety for SVG rendering behaviour.
## Pillar
- 🛠️ Other (Bug fix, refactoring, docs)
## Checklist before requesting a review:
- I have read the `CONTRIBUTING.md` file.
- I have run `npm run format` and `npm run lint` locally and resolved
all errors.
- My commits follow the Conventional Commits format).
- I have starred the repo.
- I have made sure that i have only one commit to merge in this PR.1 file changed
Lines changed: 46 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
380 | 426 | | |
381 | 427 | | |
382 | 428 | | |
| |||
0 commit comments