mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): 🎨 Refactor request parser
This commit is contained in:
parent
3247e90131
commit
1b7b71eaec
5 changed files with 92 additions and 79 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue