(linkPath: string, target: string)
| 292 | // cases below run there without Developer Mode; a symlink elsewhere. Each |
| 293 | // test removes its own link, so nothing recursive ever walks through one. |
| 294 | const dirLink = (linkPath: string, target: string): void => |
| 295 | fs.symlinkSync(target, linkPath, process.platform === 'win32' ? 'junction' : 'dir'); |
| 296 | |
| 297 | it.runIf(process.platform === 'win32')('rejects a missing leaf below an out-of-root directory junction', () => { |
| 298 | const junction = path.join(root, 'escapejunction'); |