• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tinyhttp / tinyhttp / 21562161767
99%

Build:
DEFAULT BRANCH: master
Ran 01 Feb 2026 11:35AM UTC
Jobs 3
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Feb 2026 11:34AM UTC coverage: 98.875% (+2.9%) from 95.96%
21562161767

push

github

web-flow
Max coverage (#481)

* test(req): add tests to achieve 100% coverage for fresh.ts

Add 8 new tests covering:
- Weak ETag comparisons (W/ prefix on request and response)
- Comma-separated ETags in If-None-Match header
- Non-matching comma-separated ETags
- Leading spaces in If-None-Match
- Spaces between comma-separated ETags
- Trailing spaces after ETag values
- lastModified <= modifiedSince returning true

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(app): add tests to improve request.ts coverage

Add tests covering:
- x-forwarded-host when proxy is trusted
- Array :authority header returning undefined
- Array x-forwarded-host header returning undefined
- Matching :authority and host headers
- IPv6 literal in host header parsing
- Hostname without port
- Subdomains empty array when hostname undefined
- IP address as subdomain when hostname is an IP

Improves request.ts coverage:
- Statements: 86% -> 97%
- Branches: 72% -> 93%
- Lines: 96% -> 100%

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(rate-limit): add tests to improve coverage

Add tests covering:
- max as an async function
- Successful requests with skipFailedRequests (no decrement)
- Failed requests with skipSuccessfulRequests (no decrement)
- onLimitReached callback when limit is first reached
- Store error in incr callback
- headers: false option when rate limited

Improves rate-limit.ts coverage:
- Statements: 95% -> 97%
- Branches: 83% -> 94%

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(res): add test for HEAD request redirect

Add test covering the HEAD method branch in redirect.ts which
sends an empty body for HEAD requests.

Improves redirect.ts coverage:
- Statements: 94% -> 100%
- Branches: 75% -> 100%

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* test(res): add tests for download.ts coverage

Add tests covering:
- Content-Disposition header in options being ignored (case-insensitive)
- Download without a callba... (continued)

983 of 1004 branches covered (97.91%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 4 files covered. (100.0%)

1302 of 1307 relevant lines covered (99.62%)

259.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21562161767.1 01 Feb 2026 11:35AM UTC 44
98.87
GitHub Action Run
2 21562161767.2 01 Feb 2026 11:35AM UTC 44
98.87
GitHub Action Run
3 21562161767.3 01 Feb 2026 11:35AM UTC 44
98.87
GitHub Action Run
Source Files on build 21562161767
  • Tree
  • List 44
  • Changed 19
  • Source Changed 0
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 7576d703 on github
  • Prev Build on master (#21558963397)
  • Next Build on master (#21562207280)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc