(configPath, options = {})
| 28 | const pathToWorker = path.join(__dirname, 'command', 'workers', 'runTests.js') |
| 29 | |
| 30 | const initializeCodecept = async (configPath, options = {}) => { |
| 31 | const config = await mainConfig.load(configPath || '.') |
| 32 | const codecept = new Codecept(config, { ...options, skipDefaultListeners: true }) |
| 33 | await codecept.init(getTestRoot(configPath)) |
| 34 | codecept.loadTests() |
| 35 | |
| 36 | return codecept |
| 37 | } |
| 38 | |
| 39 | const createOutputDir = async configPath => { |
| 40 | const config = await mainConfig.load(configPath || '.') |
no test coverage detected