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

Function jsonReport

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

Source from the content-addressed store, hash-verified

72}
73
74function jsonReport (config, userConfig) {
75 config.json_report = path.join(config.projectPath, 'backstop_data', 'json_report');
76 if (userConfig.paths) {
77 config.json_report = userConfig.paths.json_report || config.json_report;
78 }
79
80 config.compareJsonFileName = path.join(config.json_report, 'jsonReport.json');
81}
82
83function comparePaths (config) {
84 config.comparePath = path.join(config.backstop, 'compare/output');

Callers 1

extendConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected