(type: string, detail: string)
| 26 | const timeline: Array<{ t: number; type: string; detail: string }> = [] |
| 27 | |
| 28 | const push = (type: string, detail: string) => { |
| 29 | timeline.push({ |
| 30 | t: Date.now() - startedAt, |
| 31 | type, |
| 32 | detail, |
| 33 | }) |
| 34 | } |
| 35 | |
| 36 | page.on('console', (msg) => { |
| 37 | push('console', `${msg.type()}: ${msg.text()}`) |
no test coverage detected