()
| 369 | const app = createApp(); |
| 370 | |
| 371 | const make = () => |
| 372 | app.handle( |
| 373 | new Request("http://localhost/api/v1/auth/register", { |
| 374 | method: "POST", |
| 375 | headers: { "content-type": "application/json" }, |
| 376 | body: JSON.stringify({ |
| 377 | email: EMAIL, |
| 378 | password: PASSWORD, |
| 379 | firstName: "Flow", |
| 380 | lastName: "Test", |
| 381 | }), |
| 382 | }) |
| 383 | ); |
| 384 | |
| 385 | const first = await make(); |
| 386 |