Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
test: add test for .ts file
Panagiotis Papadopoulos5d019137fa54
diff --git a/src/services/import/mime.spec.ts b/src/services/import/mime.spec.tsindex acebd94f7b..299bc3e2d9 100644--- a/src/services/import/mime.spec.ts+++ b/src/services/import/mime.spec.ts@@ -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"],