()
| 18 | const folderStrategy = (stats, file) => stats.isDirectory() && outputDirectories.includes(file); |
| 19 | |
| 20 | const cleanupOutputDirs = () => { |
| 21 | for (const outputFolder of collectTestFolders(folderStrategy)) { |
| 22 | for (const dir of outputDirectories) { |
| 23 | fs.rmSync(join(outputFolder, dir), { recursive: true, force: true }); |
| 24 | } |
| 25 | } |
| 26 | }; |
| 27 | |
| 28 | module.exports = cleanupOutputDirs; |
nothing calls this directly
no test coverage detected