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

Function writeScenarioLogs

core/util/runPuppet.js:477–483  ·  view source on GitHub ↗
(config, logFilePath, logger)

Source from the content-addressed store, hash-verified

475}
476
477function writeScenarioLogs (config, logFilePath, logger) {
478 if (config.scenarioLogsInReports) {
479 return fs.writeFile(logFilePath, JSON.stringify(logger.logged));
480 } else {
481 return Promise.resolve(true);
482 }
483}

Callers 4

processScenarioViewFunction · 0.85
captureScreenshotFunction · 0.85
selectorShotFunction · 0.85
selectorsShotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected