(route)
| 63 | const installMocks = async (c) => { |
| 64 | for (const m of c.http_mocks ?? []) { |
| 65 | const handler = (route) => route.fulfill({ |
| 66 | status: m.status ?? 200, |
| 67 | contentType: m.contentType ?? "application/json", |
| 68 | body: m.body ?? "", |
| 69 | }); |
| 70 | await page.route(m.url, handler); |
| 71 | httpMocks.push({ url: m.url, handler }); |
| 72 | } |
no outgoing calls
no test coverage detected