nestjs-components
nestjs-components copied to clipboard
Use global filters instead of module to test HttpExceptionFilter
Description
Use global filters instead of module to test HttpExceptionFilter.
Motivation and Context
HttpExceptionFilter should be used with useGlobalFilters instead of creating a Module and importing it.
Types of changes
- [x] Chore change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)