(body: unknown, status = 200)
| 14 | ); |
| 15 | |
| 16 | const jsonResponse = (body: unknown, status = 200): Response => |
| 17 | new Response(JSON.stringify(body), { |
| 18 | status, |
| 19 | headers: { "content-type": "application/json" }, |
| 20 | }); |
| 21 | |
| 22 | /** Records what the adapter put on the wire, so the assertions are about the |
| 23 | * request the server actually receives rather than the adapter's internals. */ |
no outgoing calls
no test coverage detected