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