refactor(api): 🎨 Refactor request parser

This commit is contained in:
Jesse Wierzbinski 2024-04-25 08:50:30 -10:00
parent 3247e90131
commit 1b7b71eaec
No known key found for this signature in database
5 changed files with 92 additions and 79 deletions

View file

@ -77,6 +77,8 @@ describe("POST /api/auth/login/", () => {
),
);
console.log(await response.text());
expect(response.status).toBe(302);
expect(response.headers.get("location")).toBeDefined();
const locationHeader = new URL(