mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): 🔥 Remove useless allowedMethods from route meta info
This commit is contained in:
parent
b040c88445
commit
2254c3d39c
95 changed files with 7 additions and 99 deletions
|
|
@ -62,7 +62,7 @@ describe("API Tests", () => {
|
|||
}),
|
||||
});
|
||||
|
||||
expect(response.status).toBe(200);
|
||||
expect(response.status).toBe(201);
|
||||
expect(response.headers.get("content-type")).toContain(
|
||||
"application/json",
|
||||
);
|
||||
|
|
@ -104,7 +104,7 @@ describe("API Tests", () => {
|
|||
}),
|
||||
});
|
||||
|
||||
expect(response.status).toBe(200);
|
||||
expect(response.status).toBe(201);
|
||||
expect(response.headers.get("content-type")).toContain(
|
||||
"application/json",
|
||||
);
|
||||
|
|
@ -189,7 +189,7 @@ describe("API Tests", () => {
|
|||
},
|
||||
);
|
||||
|
||||
expect(response.status).toBe(200);
|
||||
expect(response.status).toBe(201);
|
||||
expect(response.headers.get("content-type")).toContain(
|
||||
"application/json",
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue