A workspace-root manifest so the down-scan gate (looksLikeProjectRoot) passes.
(dir: string)
| 22 | } |
| 23 | /** A workspace-root manifest so the down-scan gate (looksLikeProjectRoot) passes. */ |
| 24 | function mkWorkspaceRoot(dir: string): string { |
| 25 | fs.mkdirSync(dir, { recursive: true }); |
| 26 | fs.writeFileSync(path.join(dir, 'package.json'), '{"private":true,"workspaces":["packages/*"]}'); |
| 27 | return dir; |
| 28 | } |
| 29 | |
| 30 | describe('planFrontload — front-load hook project resolution (#964)', () => { |
| 31 | let tmp: string; |
no test coverage detected