(url)
| 48 | * @returns {string} relative path |
| 49 | */ |
| 50 | const urlToRelativePath = (url) => { |
| 51 | if (url.startsWith("https://test.cases/path/")) url = url.slice(24); |
| 52 | else if (url.startsWith("https://test.cases/")) url = url.slice(19); |
| 53 | return `./${url}`; |
| 54 | }; |
| 55 | |
| 56 | /** |
| 57 | * @returns {number[]} version arr |
no test coverage detected