(specifier: string)
| 22 | } |
| 23 | |
| 24 | function mockResolveFile(specifier: string): string { |
| 25 | return isPathImport(specifier) |
| 26 | ? `./${join("_file", specifier)}` |
| 27 | : specifier.replace(/^npm:/, "https://cdn.jsdelivr.net/npm/"); |
| 28 | } |
| 29 | |
| 30 | function runTests(inputRoot: string, outputRoot: string, filter: (name: string) => boolean = () => true) { |
| 31 | for (const name of readdirSync(inputRoot)) { |
nothing calls this directly
no test coverage detected