test(import/mime): add additional test case for getMime

This commit is contained in:
Panagiotis Papadopoulos 2025-01-20 08:34:52 +01:00
parent 4e59f58ce6
commit 4be675c4e1

View File

@ -16,6 +16,11 @@ describe("#getMime", () => {
["test.py"], "text/x-python"
],
[
"File extension with inconsisten capitalization that is defined in EXTENSION_TO_MIME",
["test.gRoOvY"], "text/x-groovy"
],
[
"File extension that is not defined in EXTENSION_TO_MIME should use mimeTypes.lookup",
["test.zip"], "application/zip"