(dir: string, rel: string, lines: string[])
| 17 | const ROOT = 'a/b/c/d/e/f'; |
| 18 | |
| 19 | function write(dir: string, rel: string, lines: string[]): void { |
| 20 | const full = path.join(dir, rel); |
| 21 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 22 | fs.writeFileSync(full, lines.join('\n') + '\n'); |
| 23 | } |
| 24 | |
| 25 | describe('exact-name resolution prefers the caller\'s own copy of a duplicated module', () => { |
| 26 | let tempDir: string; |
no test coverage detected