Skip to content

test: cover remaining app and negotiator paths#508

Open
DoctorStrange35 wants to merge 1 commit into
tinyhttp:masterfrom
DoctorStrange35:devin-uncovered-module-tests
Open

test: cover remaining app and negotiator paths#508
DoctorStrange35 wants to merge 1 commit into
tinyhttp:masterfrom
DoctorStrange35:devin-uncovered-module-tests

Conversation

@DoctorStrange35

Copy link
Copy Markdown

Summary

Add focused coverage for three previously untested paths:

  • route-parameter failures other than URIError reach the configured onError
  • req.stale evaluates as the inverse of req.fresh
  • media type parameters with omitted values negotiate correctly

Verification

  • pnpm build
  • pnpm check
  • pnpm test — 824 passed, 3 skipped

Coverage: 99.85% lines, 100% functions, 99.41% branches.

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant