(line)
| 35 | let suiteFinished = false; |
| 36 | |
| 37 | function append(line) { |
| 38 | const text = `[playwright] ${line}\n`; |
| 39 | if (logFile) { |
| 40 | fs.appendFileSync(logFile, text, 'utf8'); |
| 41 | } else { |
| 42 | process.stdout.write(text); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | function writePngFromDataUrl(targetPath, dataUrl) { |
| 47 | const comma = String(dataUrl || '').indexOf(','); |
no test coverage detected