(path: string)
| 6 | export const MEDIA_EXT = /\.(mp4|webm|mov|mp3|wav|ogg|m4a|aac|jpg|jpeg|png|gif|webp|svg|ico)$/i; |
| 7 | |
| 8 | export function isMediaFile(path: string): boolean { |
| 9 | return MEDIA_EXT.test(path); |
| 10 | } |
no outgoing calls
no test coverage detected