Token success response.
(token = "ghp_test_token")
| 32 | |
| 33 | /** Token success response. */ |
| 34 | function tokenSuccessResponse(token = "ghp_test_token"): Response { |
| 35 | return jsonResponse({ access_token: token }); |
| 36 | } |
| 37 | |
| 38 | /** Polling "not yet" response. */ |
| 39 | function authorizationPendingResponse(): Response { |
no test coverage detected