( handler: (request: Request) => Promise<Response>, headers?: Record<string, string> )
| 44 | } |
| 45 | |
| 46 | const get = ( |
| 47 | handler: (request: Request) => Promise<Response>, |
| 48 | headers?: Record<string, string> |
| 49 | ) => handler(new Request("http://localhost/", headers === undefined ? {} : { headers })) |
| 50 | |
| 51 | describe("NodeHttpCompression", () => { |
| 52 | for ( |
no test coverage detected