(action, color, message, ...rest)
| 45 | }; |
| 46 | |
| 47 | function loggerAction (action, color, message, ...rest) { |
| 48 | this.logged.push([action, color, message.toString(), JSON.stringify(rest)]); |
| 49 | console[action](chalk[color](message), ...rest); |
| 50 | } |
| 51 | |
| 52 | async function processScenarioView (scenario, variantOrScenarioLabelSafe, scenarioLabelSafe, viewport, config, logger) { |
| 53 | const { scenarioDefaults = {} } = config; |