fix: Resolve hasNextPage() infinite loop when per_page is not specified #1279
Codecov / codecov/project
succeeded
Dec 10, 2025 in 0s
88.92% (-0.30%) compared to 850eb01
View this Pull Request on Codecov
88.92% (-0.30%) compared to 850eb01
Details
Codecov Report
❌ Patch coverage is 90.49236% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.92%. Comparing base (850eb01) to head (88c9f54).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| src/management/core/pagination/CustomPager.ts | 1.75% | 56 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## master #1279 +/- ##
==========================================
- Coverage 89.21% 88.92% -0.30%
==========================================
Files 369 371 +2
Lines 16846 16905 +59
Branches 8524 8376 -148
==========================================
+ Hits 15029 15032 +3
- Misses 1817 1873 +56 | Files with missing lines | Coverage Δ | |
|---|---|---|
| src/management/BaseClient.ts | 100.00% <100.00%> (ø) |
|
| src/management/Client.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/BadRequestError.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/ConflictError.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/ContentTooLargeError.ts | 25.00% <100.00%> (ø) |
|
| src/management/api/errors/ForbiddenError.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/InternalServerError.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/NotFoundError.ts | 100.00% <100.00%> (ø) |
|
| src/management/api/errors/PaymentRequiredError.ts | 100.00% <100.00%> (ø) |
|
| ...c/management/api/errors/ServiceUnavailableError.ts | 100.00% <100.00%> (ø) |
|
| ... and 148 more |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Loading