mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-09 02:41:39 +08:00
test: add test for .ts file
This commit is contained in:
parent
e288272b22
commit
5d019137fa
@ -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"
|
["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"
|
["test.gRoOvY"], "text/x-groovy"
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user