(prefix: string)
| 13 | }); |
| 14 | |
| 15 | function tmpDir(prefix: string): string { |
| 16 | const dir = mkdtempSync(join(tmpdir(), prefix)); |
| 17 | tmpDirs.push(dir); |
| 18 | return dir; |
| 19 | } |
| 20 | |
| 21 | // Mirror the repo convention (preview.test.ts): non-symlink-privileged Windows |
| 22 | // runners can't create symlinks — skip those cases rather than crash the suite. |