Fix #598: type Deno HTTP test fixture#607
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR refactors the DenoHttpAdapter test harness to eliminate cast-heavy mocking and introduce typed fixtures. The infrastructure now captures handler/options with proper types, provides helpers to install/restore ChangesDenoHttpAdapter test harness type safety
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Release Preflight
If you tag this commit as |
|
@codex Code Lawyer Activity Summary
Validation:
|
Closes #598.
Summary
globalThis.Denothrough a narrow helperas anyhandler-call inspection and uses typed mock calls insteadValidation
npm exec vitest run test/unit/infrastructure/adapters/DenoHttpAdapter.test.tsnpm run typecheck:testnpm run lint -- test/unit/infrastructure/adapters/DenoHttpAdapter.test.tsgit diff --checkWARP_QUICK_PUSH=1 git push -u origin fix-598-deno-test-fixtureSummary by CodeRabbit
Release Notes