( appPort: string | number, pathname: string, query?: Record<string, any> | string | null | undefined, opts?: RequestInit )
| 191 | } |
| 192 | |
| 193 | export function fetchViaHTTP( |
| 194 | appPort: string | number, |
| 195 | pathname: string, |
| 196 | query?: Record<string, any> | string | null | undefined, |
| 197 | opts?: RequestInit |
| 198 | ): Promise<Response> { |
| 199 | const url = query ? withQuery(pathname, query) : pathname |
| 200 | return fetch(getFullUrl(appPort, url), opts) |
| 201 | } |
| 202 | |
| 203 | export function expectVaryHeaderToContain( |
| 204 | varyHeader: string | null, |
searching dependent graphs…