(files: Record<string, string>)
| 187 | // carries a same-named distractor so a name-only guess cannot pass. |
| 188 | |
| 189 | const writeTree = (files: Record<string, string>) => { |
| 190 | for (const [rel, body] of Object.entries(files)) { |
| 191 | const abs = path.join(tempDir, rel); |
| 192 | fs.mkdirSync(path.dirname(abs), { recursive: true }); |
| 193 | fs.writeFileSync(abs, body); |
| 194 | } |
| 195 | }; |
| 196 | |
| 197 | it('resolves a call through a dotted module path', async () => { |
| 198 | writeTree({ |
no test coverage detected