| 37 | } |
| 38 | |
| 39 | const createOutputDir = async configPath => { |
| 40 | const config = await mainConfig.load(configPath || '.') |
| 41 | const testRoot = getTestRoot(configPath) |
| 42 | const outputDir = path.isAbsolute(config.output) ? config.output : path.join(testRoot, config.output) |
| 43 | |
| 44 | if (!fileExists(outputDir)) { |
| 45 | output.print(`creating output directory: ${outputDir}`) |
| 46 | mkdirp.sync(outputDir) |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | const populateGroups = numberOfWorkers => { |
| 51 | const groups = [] |
no test coverage detected