MCPcopy Create free account
hub / github.com/garris/BackstopJS / bitmapPaths

Function bitmapPaths

core/util/extendConfig.js:30–37  ·  view source on GitHub ↗
(config, userConfig)

Source from the content-addressed store, hash-verified

28}
29
30function 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
39function ci (config, userConfig) {
40 config.ci_report = path.join(config.projectPath, 'backstop_data', 'ci_report');

Callers 1

extendConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected