The same, against the main fixture's server.
(requestPath: string, method = 'GET')
| 69 | |
| 70 | /** The same, against the main fixture's server. */ |
| 71 | function request(requestPath: string, method = 'GET'): Promise<Response> { |
| 72 | return requestOn(server.port, requestPath, method); |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Payloads are read as `any` on purpose: these tests assert the JSON contract |
no test coverage detected