(command, options)
| 51 | } |
| 52 | |
| 53 | function makeConfig (command, options) { |
| 54 | const config = {}; |
| 55 | |
| 56 | config.args = options || {}; |
| 57 | |
| 58 | config.backstop = path.join(__dirname, '../..'); |
| 59 | config.projectPath = projectPath(config); |
| 60 | config.perf = {}; |
| 61 | |
| 62 | const userConfig = Object.assign({}, loadProjectConfig(command, options, config)); |
| 63 | |
| 64 | return extendConfig(config, userConfig); |
| 65 | } |
| 66 | |
| 67 | module.exports = makeConfig; |
no test coverage detected