| 28 | } |
| 29 | |
| 30 | function bitmapPaths (config, userConfig) { |
| 31 | config.bitmaps_reference = path.join(config.projectPath, 'backstop_data', 'bitmaps_reference'); |
| 32 | config.bitmaps_test = path.join(config.projectPath, 'backstop_data', 'bitmaps_test'); |
| 33 | if (userConfig.paths) { |
| 34 | config.bitmaps_reference = userConfig.paths.bitmaps_reference || config.bitmaps_reference; |
| 35 | config.bitmaps_test = userConfig.paths.bitmaps_test || config.bitmaps_test; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | function ci (config, userConfig) { |
| 40 | config.ci_report = path.join(config.projectPath, 'backstop_data', 'ci_report'); |