mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	test(import/mime): add additional test case for getMime
This commit is contained in:
		| @@ -16,6 +16,11 @@ describe("#getMime", () => { | |||||||
|             ["test.py"], "text/x-python" |             ["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", |             "File extension that is not defined in EXTENSION_TO_MIME should use mimeTypes.lookup", | ||||||
|             ["test.zip"], "application/zip" |             ["test.zip"], "application/zip" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user