(config)
| 17 | } |
| 18 | |
| 19 | function ensureViewportLabel (config) { |
| 20 | if (typeof config.viewports === 'object') { |
| 21 | config.viewports.forEach(function (viewport) { |
| 22 | if (!viewport.label) { |
| 23 | viewport.label = viewport.name; |
| 24 | } |
| 25 | }); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | function decorateConfigForCapture (config, isReference) { |
| 30 | let configJSON; |
no outgoing calls
no test coverage detected