* Get extension from Content-Disposition first * User ImageCacheManager.cache over getCacheFile * Add unit tests for ImageCacheManager.getCacheFile * Add unit tests for ImageCacheManager.cache * Use exports and require to be able to mock isDownloading * Chain mockReturnValueOnce calls * Fix getExtensionFromContentDisposition and its unit tests |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| file_attachment.js | ||
| file_attachment_document.js | ||
| file_attachment_icon.js | ||
| file_attachment_image.js | ||
| file_attachment_list.js | ||
| file_attachment_list.test.js | ||
| index.js | ||