Labels: testing good first issue
Description
src/common/filters/http-exception.filter.ts exists but has no unit
tests. Without tests, regressions in error response formatting go
undetected.
Implementation Requirements
- Add unit tests for
src/common/filters/http-exception.filter.ts
- Cover: 400, 401, 403, 404, 500 responses
- Verify response format matches
src/common/interfaces/error-response.interface.ts
Acceptance Criteria
Evidence Required
Contributors must provide ALL of the following:
Files Affected
src/common/filters/http-exception.filter.ts (modify)
src/common/filters/http-exception.filter.spec.ts (create)
Labels: testing good first issue
Description
src/common/filters/http-exception.filter.tsexists but has no unittests. Without tests, regressions in error response formatting go
undetected.
Implementation Requirements
src/common/filters/http-exception.filter.tssrc/common/interfaces/error-response.interface.tsAcceptance Criteria
npm testEvidence Required
Contributors must provide ALL of the following:
npm testpassing with new testsFiles Affected
src/common/filters/http-exception.filter.ts(modify)src/common/filters/http-exception.filter.spec.ts(create)