(response: Response)
| 44 | }) |
| 45 | |
| 46 | const json = <A>(response: Response) => Effect.promise(() => response.json() as Promise<A>) |
| 47 | |
| 48 | const readResponse = Effect.fnUntraced(function* (input: { app: TestApp; path: string; headers: HeadersInit }) { |
| 49 | const response = yield* Effect.promise(() => |