test: add error handler coverage (#1266)#1324
Conversation
|
@mittalsonal is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Kind request for GSSoC labels when reviewed: gssoc:approved, one level:* label, and ype:testing if it fits the repo’s scoring rubric. Thanks! |
|
Verification completed locally:
Attempted:
The targeted Vitest run is currently blocked in this workspace because the repo's local test dependencies are not installed, so |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
Description\n- add focused Vitest coverage for logError in development mode\n- verify production mode serializes context without exposing stack traces\n- keep the change scoped to a new est/error-handler.test.ts file only\n\n## Related Issue\n- Closes #1266\n\n## Checklist\n- [x] test-only change\n- [x] git diff --check passes\n- [x] follows existing Vitest style in the repo\n\n## Pillar\n- Open Source\n