(p: ITestHandle, source: Dap.Source)
| 14 | } |
| 15 | |
| 16 | const testPrettyPrints = async (p: ITestHandle, source: Dap.Source) => { |
| 17 | const res = p.dap.prettyPrintSource({ source }); |
| 18 | |
| 19 | const gotSource = p.dap.once('loadedSource'); |
| 20 | const continued = p.dap.once('continued'); |
| 21 | const stopped = await waitAndStayPaused(p); |
| 22 | |
| 23 | p.log(await continued); |
| 24 | p.log(await gotSource); |
| 25 | await res; |
| 26 | stopped(); |
| 27 | }; |
| 28 | |
| 29 | itIntegrates('base', async function({ r }) { |
| 30 | const p = await r.launchUrl('pretty/pretty.html'); |
no test coverage detected