When uploading files larger than 1MB with limits: { fileSize: 1024 } I get the expected MulterError: File too large error but when using limits: { fileSize: 1024.1 } the file upload succeeds which should not.
Expectation: Multer should be able to handle unexpected config inputs.
When uploading files larger than 1MB with
limits: { fileSize: 1024 }I get the expectedMulterError: File too largeerror but when usinglimits: { fileSize: 1024.1 }the file upload succeeds which should not.Expectation: Multer should be able to handle unexpected config inputs.