nestjs-components icon indicating copy to clipboard operation
nestjs-components copied to clipboard

Use global filters instead of module to test HttpExceptionFilter

Open g-ongenae opened this issue 3 years ago • 0 comments

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)

g-ongenae avatar May 19 '22 15:05 g-ongenae