Skip to content

test: cover handler request edges - #156

Open
joshpi-1345 wants to merge 1 commit into
outerbase:mainfrom
joshpi-1345:patch-1
Open

joshpi-1345 wants to merge 1 commit into
outerbase:mainfrom
joshpi-1345:patch-1

Conversation

@joshpi-1345

Copy link
Copy Markdown

/claim #71

Summary

  • Add focused tests for handler request validation, pre-auth plugin routing, the external source guard, transaction params, and cache cleanup logging.
  • Keep production code unchanged.

Demo video

Verification

  • pnpm exec vitest run src/handler.test.ts
  • pnpm exec vitest run src/handler.test.ts --coverage --coverage.include=src/handler.ts --coverage.thresholds.lines=0 --coverage.thresholds.branches=0 --coverage.thresholds.functions=0 --coverage.thresholds.statements=0
  • pnpm exec prettier --check src/handler.test.ts
  • git diff --check

Note

  • Full current-main coverage run still hits the existing RLS expectation failures in src/rls/index.test.ts; this PR only changes handler tests and the focused handler verification passes locally.

Add focused tests for handler request validation, pre-auth plugin routing, external source guard, transaction params, and cache cleanup logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant