(response: Response)
| 24 | } |
| 25 | |
| 26 | const identityFromResponse = (response: Response): AuthenticatedIdentity => ({ |
| 27 | token: response.headers.get("set-auth-token") ?? "", |
| 28 | cookie: response.headers.get("set-cookie")?.split(";", 1)[0] ?? "", |
| 29 | }); |
| 30 | |
| 31 | const signUpIdentity = async (email: string): Promise<AuthenticatedIdentity> => { |
| 32 | const inviteCode = await mintInviteCode(handler); |
no test coverage detected