()
| 45 | } |
| 46 | |
| 47 | async function getLinks() { |
| 48 | const links = await page.$$('link') |
| 49 | return await Promise.all( |
| 50 | links.map((handle) => { |
| 51 | return handle.evaluate((link) => ({ |
| 52 | pathname: new URL(link.href).pathname, |
| 53 | rel: link.rel, |
| 54 | as: link.as, |
| 55 | })) |
| 56 | }), |
| 57 | ) |
| 58 | } |
| 59 | |
| 60 | baseOptions.forEach(({ base, label }) => { |
| 61 | test.runIf(isBuild)( |
no outgoing calls
no test coverage detected