(...pathSegments: string[])
| 16 | let testRootDir: string; |
| 17 | |
| 18 | async function createEmptyDir(...pathSegments: string[]) { |
| 19 | const fullPath = path.join(testRootDir, ...pathSegments); |
| 20 | await fsPromises.mkdir(fullPath, { recursive: true }); |
| 21 | return fullPath; |
| 22 | } |
| 23 | |
| 24 | async function createTestFile(content: string, ...pathSegments: string[]) { |
| 25 | const fullPath = path.join(testRootDir, ...pathSegments); |
no test coverage detected