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

Function engine

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

Source from the content-addressed store, hash-verified

96}
97
98function engine (config, userConfig) {
99 config.engine_scripts = path.join(config.projectPath, 'backstop_data', 'engine_scripts');
100 config.engine_scripts_default = path.join(config.backstop, 'capture', 'engine_scripts');
101
102 if (userConfig.paths) {
103 config.engine_scripts = userConfig.paths.engine_scripts || config.engine_scripts;
104 }
105}
106
107module.exports = extendConfig;

Callers 1

extendConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected