Commit d6e94fc
authored
test(github): verify graceful repos fetch failure handling (JhaSourav07#1114)
## Description
Fixes JhaSourav07#1060
Added test coverage verifying that `getFullDashboardData` gracefully
handles repository fetch failures without crashing the dashboard.
## Pillar
* [ ] 🎨 Pillar 1 — New Theme Design
* [ ] 📐 Pillar 2 — Geometric SVG Improvement
* [ ] 🕐 Pillar 3 — Timezone Logic Optimization
* [x] 🛠️ Other (Bug fix, refactoring, docs)
## Visual Preview
Not applicable — test-only change.
## Checklist before requesting a review:
* [x] I have read the `CONTRIBUTING.md` file.
* [x] I have tested these changes locally
(`localhost:3000/api/streak?user=YOUR_USERNAME`).
* [x] I have run `npm run format` and `npm run lint` locally and
resolved all errors (CI will fail otherwise).
* [x] My commits follow the Conventional Commits format (e.g.,
`feat(themes): ...`, `fix(calculate): ...`).
* [ ] I have updated `README.md` if I added a new theme or URL
parameter.
* [x] I have started the repo.
* [x] I have made sure that i have only one commit to merge in this PR.
* [x] The SVG output matches the CommitPulse "premium quality" aesthetic
standard (no raw elements, smooth animations, correct fonts).
* [x] (Recommended) I joined the CommitPulse Discord community for
contributor discussions, mentorship, and faster PR support.1 file changed
Lines changed: 44 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
610 | 651 | | |
611 | 652 | | |
612 | 653 | | |
| |||
813 | 854 | | |
814 | 855 | | |
815 | 856 | | |
816 | | - | |
| 857 | + | |
817 | 858 | | |
818 | 859 | | |
819 | 860 | | |
| |||
838 | 879 | | |
839 | 880 | | |
840 | 881 | | |
841 | | - | |
| 882 | + | |
842 | 883 | | |
843 | 884 | | |
844 | 885 | | |
| |||
865 | 906 | | |
866 | 907 | | |
867 | 908 | | |
868 | | - | |
| 909 | + | |
869 | 910 | | |
870 | 911 | | |
871 | 912 | | |
| |||
0 commit comments