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