(result: ReturnType<typeof authToolFailure>)
| 352 | |
| 353 | describe("authToolFailure recovery for oauth_scope_insufficient", () => { |
| 354 | const recoveryOf = (result: ReturnType<typeof authToolFailure>) => { |
| 355 | const details = (result as { error: { details: { recovery: Record<string, string> } } }).error |
| 356 | .details; |
| 357 | return details.recovery; |
| 358 | }; |
| 359 | |
| 360 | it("omits the oauth.start hint, which would re-run the identical grant", () => { |
| 361 | const recovery = recoveryOf( |
no outgoing calls
no test coverage detected