Skip to content

[recall #6894] test: add test for normalizeType fallback when mime lookup fails - #16

Merged
ved-merget merged 2 commits into
mainfrom
replay/pr-6894
Sep 18, 2026
Merged

ved-merget merged 2 commits into
mainfrom
replay/pr-6894

Conversation

@ved-merget

Copy link
Copy Markdown
Contributor

Recall benchmark replay of expressjs/express#6894 (round 1) from the head it had at M, 38c18c8c9b84e6f6bfe93d849364632f25b608d0, + the harness-CI commit, against main = M a479419b16f5b97eb20f5dbae5848708ff30ce2d + the harness-CI commit. Generated by merget-harness mh bench recall; this mirror is disposable.

Ayoub-Mabrouk and others added 2 commits November 10, 2025 23:31
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.
@ved-merget
ved-merget merged commit 190fffb into main Sep 18, 2026
3 checks passed
@ved-merget
ved-merget deleted the replay/pr-6894 branch September 18, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants