(path: string)
| 29 | const PLATFORM_INTEGRATION_ID = 'pi_github_1'; |
| 30 | |
| 31 | function makeRequest(path: string) { |
| 32 | return new NextRequest(`http://localhost:3000${path}`); |
| 33 | } |
| 34 | |
| 35 | function expectRedirectLocation(response: Response, expectedPathWithQuery: string) { |
| 36 | const location = response.headers.get('location'); |