(body: Record<string, unknown>)
| 19 | const BASE = "http://localhost:4788"; |
| 20 | |
| 21 | const signUp = (body: Record<string, unknown>) => |
| 22 | handler( |
| 23 | new Request(`${BASE}/api/auth/sign-up/email`, { |
| 24 | method: "POST", |
| 25 | headers: { "content-type": "application/json" }, |
| 26 | body: JSON.stringify(body), |
| 27 | }), |
| 28 | ); |
| 29 | |
| 30 | const inviteStatus = async (code: string): Promise<boolean> => { |
| 31 | const response = await handler( |
no test coverage detected