(response: Response)
| 116 | }); |
| 117 | |
| 118 | const parseDriveJson = async <T>(response: Response) => { |
| 119 | const text = await response.text(); |
| 120 | if (!text) return {} as T; |
| 121 | return JSON.parse(text) as T; |
| 122 | }; |
| 123 | |
| 124 | const assertDriveResponse = async (response: Response) => { |
| 125 | if (response.ok || response.status === 308) return; |
no outgoing calls
no test coverage detected