| 170 | } |
| 171 | |
| 172 | const convertToMochaTests = testGroup => { |
| 173 | const group = [] |
| 174 | if (testGroup instanceof Array) { |
| 175 | const mocha = MochaFactory.create({}, {}) |
| 176 | mocha.files = testGroup |
| 177 | mocha.loadFiles() |
| 178 | mocha.suite.eachTest(test => { |
| 179 | group.push(test.uid) |
| 180 | }) |
| 181 | mocha.unloadFiles() |
| 182 | } |
| 183 | |
| 184 | return group |
| 185 | } |
| 186 | |
| 187 | const getOverridenConfig = (workerName, workerConfig, config) => { |
| 188 | // clone config |
no test coverage detected