(response: Response, name: string)
| 26 | |
| 27 | /** First `Set-Cookie` header for `name`, as the raw header string. */ |
| 28 | const setCookieFor = (response: Response, name: string): string => { |
| 29 | for (const header of response.headers.getSetCookie()) { |
| 30 | if (header.startsWith(`${name}=`)) return header; |
| 31 | } |
| 32 | return ""; |
| 33 | }; |
| 34 | |
| 35 | // Open the account dropdown and sign out. Bounded retry: a click can land |
| 36 | // while the shell is still hydrating and the radix menu never opens (same |
no outgoing calls
no test coverage detected