()
| 14 | }) |
| 15 | |
| 16 | function makeTempRoot(): string { |
| 17 | const root = mkdtempSync(join(tmpdir(), 'ncode-glob-test-')) |
| 18 | tempRoots.push(root) |
| 19 | return root |
| 20 | } |
| 21 | |
| 22 | function relativePosix(root: string, filePath: string): string { |
| 23 | return relative(root, filePath).replaceAll('\\', '/') |