test: add test for .ts file

This commit is contained in:
Panagiotis Papadopoulos 2025-02-09 17:43:25 +01:00
parent e288272b22
commit 5d019137fa

View File

@ -12,12 +12,17 @@ describe("#getMime", () => {
],
[
"File extension that is defined in EXTENSION_TO_MIME",
"File extension ('.py') that is defined in EXTENSION_TO_MIME",
["test.py"], "text/x-python"
],
[
"File extension with inconsisten capitalization that is defined in EXTENSION_TO_MIME",
"File extension ('.ts') that is defined in EXTENSION_TO_MIME",
["test.ts"], "text/x-typescript"
],
[
"File extension with inconsistent capitalization that is defined in EXTENSION_TO_MIME",
["test.gRoOvY"], "text/x-groovy"
],