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

Function makeConfig

core/util/makeConfig.js:53–65  ·  view source on GitHub ↗
(command, options)

Source from the content-addressed store, hash-verified

51}
52
53function 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
67module.exports = makeConfig;

Callers 3

runner.jsFile · 0.85
makeConfig_spec.jsFile · 0.85

Calls 3

projectPathFunction · 0.85
loadProjectConfigFunction · 0.85
extendConfigFunction · 0.85

Tested by

no test coverage detected