()
| 22 | |
| 23 | const ok = (body: unknown): Response => jsonResponse(200, body); |
| 24 | const unauthorized = (): Response => |
| 25 | jsonResponse(401, { error: { message: "token revoked", code: "unauthorized" } }); |
| 26 | |
| 27 | // Narrow a recorded fetch call to the headers of its RequestInit without |
| 28 | // casting; throws (failing the test) if the call shape is unexpected. |
no test coverage detected