Version
20.15.0
Platform
Darwin macbook-WQW3312KW0 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64
Subsystem
No response
What steps will reproduce the bug?
- git clone
git@github.com:muturgan/fastest-express-validator.git
- cd fastest-express-validator && npm ci && npm run build
- npm run test_coverage
- look at the
uncovered lines colunm of a dist/index.cjs file
How often does it reproduce? Is there a required condition?
It reproduces every time. No special conditions are needed.
What is the expected behavior? Why is that the expected behavior?
Report of a dist/index.cjs file is NOT contains 53-55 uncovered lines (which corresponds to a defaultRequestValidatorHandler success branch). Because of I have a correct user request test case which not produces a validation error.
What do you see instead?
The coverage report of a dist/index.cjs file mark 53-55 lines as uncovered.
Additional information
No response
Version
20.15.0
Platform
Subsystem
No response
What steps will reproduce the bug?
git@github.com:muturgan/fastest-express-validator.gituncovered linescolunm of adist/index.cjsfileHow often does it reproduce? Is there a required condition?
It reproduces every time. No special conditions are needed.
What is the expected behavior? Why is that the expected behavior?
Report of a
dist/index.cjsfile is NOT contains 53-55 uncovered lines (which corresponds to adefaultRequestValidatorHandlersuccess branch). Because of I have acorrect user requesttest case which not produces a validation error.What do you see instead?
The coverage report of a
dist/index.cjsfile mark 53-55 lines as uncovered.Additional information
No response