(number)
| 40 | const totalScenarioCount = configJSON.scenarios.length; |
| 41 | |
| 42 | function pad (number) { |
| 43 | let r = String(number); |
| 44 | if (r.length === 1) { |
| 45 | r = '0' + r; |
| 46 | } |
| 47 | return r; |
| 48 | } |
| 49 | |
| 50 | const screenshotNow = new Date(); |
| 51 | let screenshotDateTime = screenshotNow.getFullYear() + pad(screenshotNow.getMonth() + 1) + pad(screenshotNow.getDate()) + '-' + pad(screenshotNow.getHours()) + pad(screenshotNow.getMinutes()) + pad(screenshotNow.getSeconds()); |
no outgoing calls
no test coverage detected