Skip to content

Commit 0089d0e

Browse files
authored
Test/GitHub token header assertion (JhaSourav07#3047)
## Description Fixes JhaSourav07#1104 Added tests to verify GitHub API requests include the expected token header and that `fetchUserRepos` correctly handles paginated responses across multiple pages. ## Pillar * [ ] 🎨 Pillar 1 — New Theme Design * [ ] 📐 Pillar 2 — Geometric SVG Improvement * [ ] 🕐 Pillar 3 — Timezone Logic Optimization * [x] 🛠️ Other (Bug fix, refactoring, docs) ## Visual Preview N/A (test-only changes) ## Checklist before requesting a review: * [x] I have read the `CONTRIBUTING.md` file. * [x] I have tested these changes locally. * [x] I have run `npm run format` and `npm run lint` locally and resolved all errors. * [x] My commits follow the Conventional Commits format. * [ ] I have updated `README.md` if I added a new theme or URL parameter. (Not applicable) * [x] I have starred the repo. * [x] I have made sure that I have only one commit to merge in this PR. * [ ] The SVG output matches the CommitPulse "premium quality" aesthetic standard. (Not applicable for test-only changes) * [x] I joined the CommitPulse Discord community.
2 parents 99b9e46 + afd53c0 commit 0089d0e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"eslint-config-next": "16.2.3",
6868
"eslint-config-prettier": "^10.1.8",
6969
"husky": "^9.1.7",
70-
"jsdom": "^29.0.2",
70+
"jsdom": "^29.1.1",
7171
"lint-staged": "^15.2.11",
7272
"node-mocks-http": "^1.17.2",
7373
"postcss": "^8.5.9",

0 commit comments

Comments
 (0)