(id, title, pass, measured, images = [])
| 136 | let shotIndex = 0; |
| 137 | |
| 138 | function check(id, title, pass, measured, images = []) { |
| 139 | checks.push({ id, title, pass: Boolean(pass), measured, images }); |
| 140 | console.log(`${pass ? 'PASS' : 'FAIL'} ${id} ${title} ${typeof measured === 'string' ? measured : JSON.stringify(measured)}`); |
| 141 | } |
| 142 | |
| 143 | async function shot(page, label) { |
| 144 | shotIndex += 1; |
no test coverage detected