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

tinyhttp / tinyhttp / 10812916441
98%

Build:
DEFAULT BRANCH: master
Ran 11 Sep 2024 01:42PM UTC
Jobs 1
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

11 Sep 2024 01:41PM UTC coverage: 97.313% (-0.01%) from 97.325%
10812916441

push

github

web-flow
Feat/`req.port` (#439)

* feat(app): add `port` to request object

* chore: bump `app` and `jsonp`

* tests: rename tests related to request host

* chore(app): remove unused `getHostname` function

* test(app): add test for malformed `Host` header

* feat(app): derive request host from `:authority` header

* test(app): test `:authority` header parsing using HTTP/2 server

* test(app): uncomment assertion

* fix(req): appropriately type `getRequestHeader` return value

* fix(res): appropriately type `getResponseHeader` return value

* fix(app): appropriately type `req`, `res` header methods

* fix(app): don't destructure result of `getHost` in case it is undefined

* test(app): test multiple `Host` headers case

* test(app): test case that `:authority` header disagrees with `host`

* fix(app): don't call `indexOf` on variable that is potentially null-ish

* test(app): skip test for case that `:authority` disagrees with `host`

* fix(app): call normalizeHostString when `:authority` has no userinfo

* chore: replace `vite` config with `vitest` as all options are test-related

also configure path aliases for all packages in repo
this ensures typescript sources are used for testing

* chore: remove `build` step from CI workflow

* fix: add missing `proxy-addr` path alias

* chore(deps): remove `c8`, update `vitest`

* chore(deps): remove `undici` as dev dependency

* test(app): use `vi.mock` to mock headers

* chore: remove 'InitSecureAppAndTest'

* test(app): use `vi.fn` over `vi.spyOn` for a module member mock

see https://github.com/vitest-dev/vitest/pull/3386

* test(app): add missing `/src` suffixes to `importActual`

* Revert "chore: remove `build` step from CI workflow"

This reverts commit 714bca62c.

* chore: remove unused imports

* chore: remove more unused imports

* Update packages/app/src/request.ts

Co-authored-by: v1rtl <hi@v1rtl.site>

* Up... (continued)

834 of 877 branches covered (95.1%)

Branch coverage included in aggregate %.

57 of 61 new or added lines in 5 files covered. (93.44%)

1918 of 1951 relevant lines covered (98.31%)

74.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
86.67
4.67% packages/app/src/request.ts
Jobs
ID Job ID Ran Files Coverage
1 10812916441.1 11 Sep 2024 01:42PM UTC 44
97.31
GitHub Action Run
Source Files on build 10812916441
  • Tree
  • List 44
  • Changed 30
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5603fc2a on github
  • Prev Build on master (#10812167435)
  • Next Build on master (#10813139140)
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

© 2025 Coveralls, Inc