()
| 1795 | const { credentialsPath } = makeCreds(); |
| 1796 | // Inject a request-id header in the response so the CLI can surface it. |
| 1797 | const fetchImpl: typeof globalThis.fetch = async () => |
| 1798 | new Response( |
| 1799 | JSON.stringify({ |
| 1800 | runId: 'run_c3', |
| 1801 | status: 'queued', |
| 1802 | enqueuedAt: '2026-05-15T10:00:00.000Z', |
| 1803 | codeVersion: 'v1', |
| 1804 | targetUrl: 'https://example.com', |
| 1805 | }), |
| 1806 | { |
| 1807 | status: 200, |
| 1808 | headers: { 'content-type': 'application/json', 'x-request-id': 'req_c3_hidden' }, |
| 1809 | }, |
| 1810 | ); |
| 1811 | const stderrLines: string[] = []; |
| 1812 | await runTestRun( |
| 1813 | { |
no outgoing calls
no test coverage detected