SIGN IN SIGN UP

test: add test for normalizeType fallback when mime lookup fails (#6894)

Add test to verify that utils.normalizeType correctly defaults to
'application/octet-stream' when mime.lookup() returns null/undefined
for unknown file extensions. This covers the fallback behavior on
line 64 of lib/utils.js and ensures proper handling of unrecognized
MIME types.

Co-authored-by: bjohansebas <103585995+bjohansebas@users.noreply.github.com>
A
Ayoub Mabrouk committed
6b7ccfcf120e77f20aa22ff96ccf98a994c7d35b
Parent: c9ecf7b
Committed by GitHub <noreply@github.com> on 2/1/2026, 2:53:38 AM