(v)
| 18 | } |
| 19 | |
| 20 | function looksLikePath(v) { |
| 21 | return typeof v === 'string' && ( |
| 22 | v.includes('/') || v.includes('\\') || |
| 23 | v.endsWith('.js') || v.endsWith('.ts') |
| 24 | ) |
| 25 | } |
| 26 | |
| 27 | function normalizePath(p) { |
| 28 | return String(p).replace(/\\/g, '/') |
no test coverage detected