|
Ran
|
Jobs
1
|
Files
44
|
Run time
1min
|
Badge
README BADGES
|
push
github
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
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 4 |
86.67 |
4.67% | packages/app/src/request.ts |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 10812916441.1 | 44 |
97.31 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|