mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
fix: fix unit test
This commit is contained in:
@ -34,7 +34,7 @@ describe('ValidationPipe', () => {
|
|||||||
transform: true,
|
transform: true,
|
||||||
validateCustomDecorators: true,
|
validateCustomDecorators: true,
|
||||||
stopAtFirstError: true,
|
stopAtFirstError: true,
|
||||||
forbidNonWhitelisted: false,
|
forbidNonWhitelisted: true,
|
||||||
dismissDefaultMessages: true,
|
dismissDefaultMessages: true,
|
||||||
enableDebugMessages: true,
|
enableDebugMessages: true,
|
||||||
exceptionFactory: i18nValidationErrorFactory,
|
exceptionFactory: i18nValidationErrorFactory,
|
||||||
|
|||||||
Reference in New Issue
Block a user